I am updating code from laravel 4 to laravel 5
Apply matching functionality to LARWAL 4 Here are some code like
mail :: send ('emailtemplate.sample', $ content_data, function ($ message) usage ($ to_mail, $ email_data, $ from_name) {$ message - & gt; $ ($ Email_data- & gt; subject); $ header = $ message-> getHeaders (); $ header- & gt; adext header ('X-MC-Prescri Reciprints', 'Fault') ;});
I have Calling on / code> method to $ headers = $ message-> GetHeaders ();
and $ headers-> AddTextHeader ('
Swift_Message
is not a part of Laravel, it is a third-party component, yet Laravel 5 has changed, Swift does not work as before
No comments:
Post a Comment