My script confirmed the email was sent. It never arrived.
说明与用途
自动化邮件发送声称成功,但因域名拼写错误未送达收件人。问题在收到退信后发现,解决方案是进行 DNS 预检和退信扫描。
问题
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