taymonbeal / eamail

MIT License
1 stars 1 forks source link

Some kind of mail-sending issue #33

Open rtanen opened 7 years ago

rtanen commented 7 years ago

Bug identification is in progress.

Not all mail that should be sent to confirmed subscribers seems to reach MailCatcher, despite the fact that, when project/subscriptions/management/commands/sendnewsletter.py was changed to print the email address/is-confirmed/contents for each email, this worked, and when it was told to send a test email in addition to the regular email, test emails for all confirmed subscribers were received.

IDK what's wrong. Maybe an issue with HTML emails, since the test emails didn't have an HTML component? Mis-formatted addresses?

rtanen commented 7 years ago

Details are in a gist, which is private for now because I don't want everyone to see my terrible placeholder text. Maybe I should make another version with less terrible placeholder text.

rtanen commented 7 years ago

Using a Python smtpd debugging SMTP server (python -m smtpd -n -c DebuggingServer localhost:1025) strongly suggests that the error is in MailCatcher and not somewhere else. (We haven't tested it with HTML emails, but some text emails will send to the Python debugging SMTP server but not to MailCatcher).