📜  octobercms 邮件 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:17.955000             🧑  作者: 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');

});