Home › Forums › PHP › Connection could not be established with host smtp.mailtrap.io
Tagged: mailtrap, smtp
$transport = (new Swift_SmtpTransport('smtp.mailtrap.io', 2525))
If you are running the project from your Cpanel trying to use port 465 as a priority among other ports provide by Mailtrap, while running locally use 2525.
Login form protected by Login LockDown.
© Copyright - SpoilCoconut