📜  octobercms 邮件视图 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:50.292000             🧑  作者: Mango

代码示例2
// These variables are available inside the message as Twig
$vars = ['name' => 'Joe', 'user' => 'Mary'];

Mail::send('acme.blog::mail.message', $vars, function($message) {

    $message->to('admin@domain.tld', 'Admin Person');
    $message->subject('This is a reminder');

});