Thursday, May 10, 2018

Swift_TransportException Connection could not be established with host smtp.mailtrap.io [Connection refused #111] - development

Swift_TransportException Connection could not be established with host smtp.mailtrap.io [Connection refused #111]

I’m trying to send message through mailtrap. It is working fine in vps but getting the bellow error in cpanel server find the attachment. Already i tried using different solution provide in the stack overflow but its not working for me.

enter image description here

This is my mailtrap configuration

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525 (also tried using "25" and "465")
MAIL_USERNAME=myusername
MAIL_PASSWORD=mypassword
MAIL_ENCRYPTION=tls

Thank you.



from Laravel Questions and Answers https://laravelquestions.com/php/swift_transportexception-connection-could-not-be-established-with-host-smtp-mailtrap-io-connection-refused-111/
via Lzo Media

No comments:

Post a Comment