Created attachment 762281 [details] Content and script We need to send a promotional email to devs for a contest we're running. Attached is the content of the email, the recipients, and a script to send it based on the script used for bug 841121. Please run with test_recipients.tsv first and wait for confirmation before sending to recipients.tsv Thanks.
Ran script with test_recipients.tsv.
Thanks. Hm. Looks like something's happening to multi-byte encoded To fields in transit. Mine goes from: To: =?utf-8?b?IktyaXMgTWFnbGlvbmUg4oaSIiA8a21hZ2xpb25lQG1vemlsbGEuY29tPg==?= in my local test run, to: To: =?utf-8?b?IktyaXMgTWFnbGlvbmUg4oaSIiA8a21hZ2xpb25lQG1vemlsbGEuY29tPgemail@example.com when I receive the email. Unless you happen to know an easy solution, I think we can probably make do, but it's not ideal.
Created attachment 762817 [details] Updated script I updated the script to manually encode the email addresses. The MIMEText class is fortunately stupid enough not to escape it. We should be good to go.
Ran new script with test_recipients.tsv.
Awesome, everything looks good this time. Please run it with recipients.tsv now.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Component: Server Operations: AMO Operations → Operations: Marketplace
Product: mozilla.org → Mozilla Services
You need to log in before you can comment on or make changes to this bug.