You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think Mail class (view) method is different. But maybe you can render a view into variable and pass it to Mail View method.
$view = view($this->newsletter->template->view)->withShortcodes()->render();
// $view = view($this->newsletter->template->view)->render()->withShortcodes();
return $this->from('[email protected]', 'Sender Name')
->subject($this->newsletter->subject)
->view($view);```
I am not sure, but something like that could work.
Thanks,
Hi
First of all great package.
I can use it for views, but if i use it for mailing, it takes an error:
Code
Error
ErrorException
Undefined offset: 0
Anyone knows what can i do?
Thanks
The text was updated successfully, but these errors were encountered: