Answers for "send multiple mail in laravel"

PHP
2

send multiple mail in laravel

$emails = ['[email protected]', '[email protected]','[email protected]'];

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

Browse Popular Code Answers by Language