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 ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire