Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

send multiple mail in laravel

$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;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #multiple #mail #laravel
ADD COMMENT
Topic
Name
5+2 =