Connection timeout in SMTP mailgun

Viewed 2915

Getting the following error while creating connection in SMTP Mailgun

2017-07-30 06:46:46 Connection: opening to ssl://smtp.mailgun.org:2195, timeout=300, options=array ( ) 
2017-07-30 06:51:00 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.mailgun.org:2195 (Connection timed out) [/var/www/html/PHPMailer/class.smtp.php line 294] 
2017-07-30 06:51:00 SMTP ERROR: Failed to connect to server: Connection timed out (110) 
2017-07-30 06:51:00 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Message could not be sent.Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Any help will be appreciating. Thanks in advance.

0 Answers
Related