Closed Bug 882892 Opened 11 years ago Closed 11 years ago

Send mass mailing to add-on developers

Categories

(Cloud Services :: Operations: Marketplace, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kmag, Assigned: jason)

Details

Attachments

(2 files)

Attached file 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?IktyaXMgTWFnbGlvbmUg4oaSIiA8a21hZ2xpb25lQG1vemlsbGEuY29tPg==?=@zmmta2.mail.corp.phx1.mozilla.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.
Attached file 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.
Done.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Cheers
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.

Attachment

General

Created:
Updated:
Size: