1

1 year agoby Ripon Uddin

Mail sending Fail

> Swift_TransportException Process could not be started The system cannot find the path specified.

Hello sir , am getting this error when am trying to send email by laravel. Allow less secure app mode is On.

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=myEmail@gmail.com
MAIL_PASSWORD=app_password
MAIL_ENCRYPTION=tls

Sir, how to solve this problem? AM using Laravel 5.6

22

Sarthak replied 1 year ago

1

While sending mail you need to do something like this,

Mail::to($request->user())
    ->cc($moreUsers)
    ->bcc($evenMoreUsers)
    ->send(new OrderShipped($order));
		

1

Ripon Uddin replied 1 year ago

0

Great , it's working . When i create new Lara project and apply start to end process watching your video its work now Thank you so much sir. But am not able to tag CC and B.cc when am sending mail. How to do this sir ?

22

Sarthak replied 1 year ago

0

Try to use mailtrap.io for testing your email system. Check this tutorial Mailtrap

Ask Question
Most Visited
Categories