📜  在 laravel 中发送多封邮件 - PHP 代码示例

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

代码示例1
$emails = ['myoneemail@esomething.com', 'myother@esomething.com','myother2@esomething.com'];

Mail::send('emails.welcome', [], function($message) use ($emails)
{    
    $message->to($emails)->subject('This is test e-mail');    
});
var_dump( Mail:: failures());
exit;