Answer the question
In order to leave comments, you need to log in
Unable to send contact form SMTP email?
I use the Contact form 7 plugin. When filling out the form, it is sent to the specified mail. The message tells me that everything went well, the js response returns true. The email does not arrive. I'm trying to configure mail through the SMTP plugin. I specify the data, I try to send a test letter, it returns false to me, at the end there is such a message:
The SMTP debugging output is shown below:
2017-10-13 22:12:55 Connection: opening to smtp.yandex.com:465, timeout=300, options=array (
)
2017-10-13 22:13:00 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to smtp.yandex.com:465 (Connection refused)
2017-10-13 22:13:00 SMTP ERROR: Failed to connect to server: Connection refused (111)
2017-10-13 22:13:00 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Answer the question
In order to leave comments, you need to log in
Letters via Yandex can only be sent to users registered on it, so you need to configure sender redefinition in smtp. For postfix see sasl and map settings. In addition, standard postfix does not understand ssl, for example, stunnel is needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question