Answers for "swift_transportexception connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:2525 (establishing tcp connections on remote port 2525 has been disabled for security reasons.)"

1

Connection could not be established with host smtp.mailtrap.io :stream_socket_client(): Unable to connect to tcp://smtp.mailtrap.io:2525 (Connection refused)

use port 25 and mail encryption is empty like

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=25
MAIL_USERNAME=XXXXXddda513d4
MAIL_PASSWORD=da084XXXXXXbbe
MAIL_ENCRYPTION=
Posted by: Guest on August-17-2021

Code answers related to "swift_transportexception connection could not be established with host smtp.mailtrap.io :stream_socket_client(): unable to connect to smtp.mailtrap.io:2525 (establishing tcp connections on remote port 2525 has been disabled for security reasons.)"

Browse Popular Code Answers by Language