lundi 8 juillet 2019

Why don't works FROM im laravel mail if I use google SMTP

If I use Google Gmail SMTP then I get wrong “from” email address. it's not from >request->email it's my email that I set up for SMTP so now in all email don't work correct button reply to

Laravel 5.7.28 in mailtrap, this code works fine.

    so we have this 

```Mail::to($to)->send(new DemoEmail($request));```

in DemoEmail in method build we have this code

                    ->subject($this->request->subject ?? __('Contact form submitted'))
                    ->view('emails.demo') ```

http://prntscr.com/oc47sv



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire