My script confirmed the email was sent. It never arrived.
Описание и применение
Автоматизированная отправка письма подтверждала успех, но из‑за опечатки в домене письмо не дошло до получателя. Проблема выявлена после получения bounce‑сообщения, а решение – проверка MX‑записей и сканирование bounce‑ов.
Задача
Automated email sending reported success when the message never reached the recipient due to a domain typo.
Результат
The automation falsely reported success; the email never reached the recipient due to a missing MX record caused by a transposed-letter typo in the domain.
Рабочий процесс
- 1. Build message with AppleScript.
- 2. Send via Mail.app.
- 3. Verify by querying the Sent folder for recipient and timestamp.
- 4. Log success and continue.
Доказательства
I automate outbound email on a Mac: build the message with AppleScript, send it through Mail.app, then verify.
At 10:15 that check passed. Clean. I logged it and moved on.
No MX Record Found
The address was undeliverable. Not deferred, not spam-filtered — undeliverable.
The bug was in my definition of "sent"
I now scan for PostMaster and Mailer-Daemon senders.
- Дата записи: 2026-10-02T16:40:57.600Z