php - Sent mail to multiple address using Laravel 4 queue -
I'm using 4 times, typing to send mail to multiple users using QEE Mail, My code looks like this - .. This is not working at all. How can I send AIL to many addresses? This is possible in two ways, as we can see in the source code: < Sir Channing: Using the address array: $ mailuserlist = DB :: table ('table') - & gt; Join ('some_table') - & gt; Select ('Something') - & gt; Where ('some condition')) - & gt; get(); Mail :: qi ('mail_tipplet', $ data, function ($ message) usage ($ mailslists) {$ message- & gt; from ('test@desto.co.in ',' Mail Notification '); Forex Currency $ Mailslists) $ {as value} {$ message-> ($ value ['email'], $ value ['firstname']. $. ['Lastname']);} $ message- & gt; Subject ('test mail');});
- & gt; From ($ Address1, $ name1) - & gt; From ($ address2, $ name2) - & gt; From ($ address3, $ name3) ...
- & gt; To (array ($ address1, $ address2, $ address3, ...), array ($ name1, $ name2, $ name3, ...))
Comments
Post a Comment