1. Отправка через mail(): ✅ Успешно (проверьте лог)
2. Отправка через msmtp напрямую: ✅ Успешно
3. Отправка через Битрикс (Mail::send): ✅ Успешно
msmtp конфиг: # smtp account configuration for default account default logfile /home/bitrix/msmtp_default.log host smtp.yandex.ru port 587 from no-reply.tomograd@ya.ru aliases /etc/aliases keepbcc off auth on user no-reply.tomograd@ya.ru tls on tls_certcheck off tls_starttls on Проверка лога: Sep 04 17:38:01 host=smtp.yandex.ru tls=on auth=on user=no-reply.tomograd@ya.ru from=no-reply.tomograd@ya.ru recipients=podolsk@tomograd.ru mailsize=2370 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued on mail-nwsmtp-smtp-production-main-77.iva.yp-c.yandex.net 1788543481-0cNXY5LfBOs0-evUGbyc0' exitcode=EX_OK Sep 04 20:05:44 host=smtp.yandex.ru tls=on auth=on user=no-reply.tomograd@ya.ru from=no-reply.tomograd@ya.ru recipients=podolsk@tomograd.ru mailsize=2344 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued on mail-nwsmtp-smtp-production-main-63.klg.yp-c.yandex.net 1788552344-h5QSs1ilfmI0-uKtnUv2f' exitcode=EX_OK Sep 04 20:22:39 host=smtp.yandex.ru tls=on auth=on user=no-reply.tomograd@ya.ru from=no-reply.tomograd@ya.ru recipients=koreshfild@yandex.ru mailsize=430 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued on mail-nwsmtp-smtp-production-main-76.iva.yp-c.yandex.net 1788553359-cMQQW5LeEqM0-n931prYx' exitcode=EX_OK Sep 04 20:22:39 host=smtp.yandex.ru tls=on auth=on user=no-reply.tomograd@ya.ru from=no-reply.tomograd@ya.ru recipients=koreshfild@yandex.ru mailsize=410 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued on mail-nwsmtp-smtp-production-main-94.vla.yp-c.yandex.net 1788553359-dMQ8CpigHSw0-lHar8qjz' exitcode=EX_OK Sep 04 20:22:40 host=smtp.yandex.ru tls=on auth=on user=no-reply.tomograd@ya.ru from=no-reply.tomograd@ya.ru recipients=koreshfild@yandex.ru mailsize=640 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued on mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net 1788553360-dMQPLwhfMeA0-ChsVEtDx' exitcode=EX_OK
👉 Смотрите лог в реальном времени:tail -f /home/bitrix/msmtp_default.log