I am trying to send a email using Spark Post
This is an error I am getting:
Swift_IoException
Unable to open file for reading [C:\xampp\htdocs\liveandnow\public/images/logo.jpeg]
This is my welcomeEmail.blade.php
<img src="" ) }}">
This is WelcomeEmail.php
public function build()
{
return $this->from('support@dev.dsd.com')
->view('emails.welcomeEmail');
}
and Controller:
Mail::to($request->user())->send(new WelcomeEmail());
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire