Possible solutions of your questions

  hosting
<< Previous       SMTP

Question: The website garagepunk.Russia, which has just been launched on the hosting, uses an SMTP connection to a Yahoo for mailing letters, on the previous hosting problems was not, on the current when you try to send a message to get the error SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
Answer:

Hello. to which server you connect to and how obrazem?

Question: YANDEX, as it was written above
Question: smtp.yandex.ru587 TLS
Question: public function Connect($host, $port = 0, $tval = 30) { // set the error val to NULL so there is no confusion $this->error = NULL; // make sure we are __not__ connected if ($this->connected()) { // already connected, generate error $this->error = array(\"error\" => \"Already connected to a server\"); return FALSE; } if (empty($port)) { $port = $this->SMTP_PORT; } // connect to the smtp server $this->smtp_conn = @fsockopen($host, // the host of the server $port, // the port to use $errno, // error number if any $errstr, // error message if any $tval); // give up after ? secs // verify we connected properly if (empty($this->smtp_conn)) { $this->error = array(\"error\" => \"Failed to connect to server\", \"errno\" => $errno, \"errstr\" => $errstr); if ($this->do_debug >= 1) { echo \"SMTP -> ERROR:\" . $this->error[\"error\
Question: using fsockopen()
Answer:

25,465,587,2525 ports are in the allowed list of the firewall . the script result is not needed. You asked for a server address

information smtp.yandex.ru and port 587 is enough

we ran.

the connection is

telnet smtp.yandex.ru 587
Trying 213.180.204.38...
Connected to smtp.yandex.ru.
Escape character is `^]`.

 

Question: you asked how, I gave the script
Answer:

check again

Question: now sending
Answer:


ok

Question: and what was it ?
Answer:

in a firewall. firewall available to You when you log in to panel as administrator.

Question: it seems that you again shut down the port 587, which is used to send emails via SMTP Yandex
Answer:

Hello. we н6ичего You are not covered. if the port is closed then it`s the fault of the panel.


please Check now.

Question: now working
Answer:


ok

Question: Disable the firewall after you restart the server panel again closed smtp ports
Answer:


please Check now.

Question: not working again
Answer:


please Check now.

Question: good day, you need to restart VPS and cancel firewall rules for SMTP Protocol
Answer:

Hello

application runs

 

Answer:


please Check now.

Question: activated again a rule which closes the SMTP port.
Answer:

please Wait.

Question: if possible make quickly because you don`t correct this problem for more than six months, and I do not work registration on the website
Answer:


please Check now.


<< Previous