A
A
Anton2019-09-29 19:00:47
PHP
Anton, 2019-09-29 19:00:47

Does anyone have a working phpmailer under yandex smtp?

Good afternoon! I can't set up sending messages via Yandex smtp in phpmailer. I am using the latest version of phpmailer and an example script from github. The script does not produce errors, but it does not deliver letters either. Maybe someone has a working implementation of this script. Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danil Sapegin, 2019-09-30
@ynblpb_spb

Try to telnet to the Yandex server. Most likely the ports are closed, now it is fashionable (

B
Boris Syomov, 2019-09-30
@kotomyava

Phpmailer works fine with Yandex mail.
First, check the connection data: smtp.yandex.ru/SSL(SMTPSecure =PHPMailer::ENCRYPTION_SMTPS)/port 465.
Well, enable debugging (SMTPDebug = SMTP::DEBUG_SERVER), and select the correct debug output (Debugoutput).
In general, it’s worth checking if sending through this mailbox via smtp using any SMTP client works at all ...
If the mailbox has just been created, then you need to go into it at least once through the Yandex web interface to complete its registration, before that mail will not be sent through it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question