jeudi 27 avril 2017

Laravel 5.1 - Swift_TransportException - cant send emails

  1. at .env file I have this code:

    MAIL_DRIVER=smtp

    MAIL_HOST=smtp.sendgrid.net
    
    MAIL_PORT=587
    
    MAIL_USERNAME=azure_edhjjjjj67781b06b18228961b@azure.com
    
    MAIL_PASSWORD=hggahsd666
    
    MAIL_ENCRYPTION=tls
    
    

and I get this screen:

enter image description here

I also try:

MAIL_DRIVER=smtp
    MAIL_HOST=smtp.sendgrid.net
    MAIL_PORT=465
    MAIL_USERNAME=azure_edhjjjjj67781b06b18228961b@azure.com
    MAIL_PASSWORD=hggahsd666
    MAIL_ENCRYPTION=ssl

but dont works again...

I also try to change settings into config/mail.php to be the same as on .env file but dont work and at the end I try command

php artisan cache:clear

Is possible problem cause redirection to secure domain http://ift.tt/2ppikqO ?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2qiy4c9
via IFTTT

Aucun commentaire:

Enregistrer un commentaire