Sunday, April 2, 2017

Trying to use Swift_Mailer but got an error in Laravel

am using laravel to send mail with the mail facade i just manage to wrap my head around for the first time. So i think i pulled it off correctly but i getting an

Swift_TransportException in AbstractSmtpTransport.php line 383: Expected response code 220 but got code "503", with message "503 TLS not available
"   

the mail facade i my Controller is

        Mail::to($sponsor->user_email)->send(new Send_Sponsor($provider,$sponsor));

i went to mail config and remove the encryption of value tls to nothing but still got the same result. I also change the email from gmail to yahoo but i still got the same error.can some please help



via dagogodboss

Advertisement