Send mass mailing to add-on developers

VERIFIED FIXED

Status

VERIFIED FIXED
6 years ago
4 years ago

People

(Reporter: kmag, Assigned: jason)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
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.
(Reporter)

Updated

6 years ago
No longer depends on: 841121
(Assignee)

Comment 1

6 years ago
Ran script with test_recipients.tsv.
(Reporter)

Comment 2

6 years ago
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.
(Reporter)

Comment 3

6 years ago
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.
(Assignee)

Comment 4

6 years ago
Ran new script with test_recipients.tsv.
(Reporter)

Comment 5

6 years ago
Awesome, everything looks good this time. Please run it with recipients.tsv now.
(Assignee)

Comment 6

6 years ago
Done.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 7

6 years ago
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.