PHP mail by Laravel solved

tutorial for how to send mail by laravel 4.2
check this link

if you face the below problem check the below way 

the solving of this problem is 

login to your gmail account
access to this link
 and then choose 
Access for less secure apps 
turn on 

problem solved 

if you faced this case

Using gmail smtp via Laravel: Connection could not be established with host [Connection timed out #110]

'encryption' => 'ssl',

'port' => 465,

I had the same problem and I resolved it in this way:
'driver' => 'sendmail',
You need to change only that line.

Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 l6sm346141wib.18 - gsmtp "

0 التعليقات :