G
G
galynsky2014-09-11 20:48:55
PHP
galynsky, 2014-09-11 20:48:55

SMTP connection not established. How to solve the problem?

In general, I'm trying to send an email using PHPMailer. Gives an error message:

2014-09-11 17:47:57	Connection: opening to ssl://smtp.yandex.ru:465, t=10, opt=array ( ) 2014-09-11 17:48:07	SMTP ERROR: Failed to connect to server: Connection timed out (110) 2014-09-11 17:48:07	SMTP connect() failed. Message could not be sent.Mailer Error: SMTP connect() failed.

I try to send from the VDS server. I tried everything from the local computer, so the version about incorrect authorization data is excluded.
How to deal with it? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max, 2014-09-11
@AloneCoder

and the box on behalf of which you want to send is configured on the server?

D
Dixi_Alex, 2014-09-11
@Dixi_Alex

I don't know exactly about PHPMailer, but the mail command in PHP on a Unix/Linux machine only connects to a local mailer. in PHP's Windows implementation, the mail command can connect to a remote server.
Somehow I came across this...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question