[Mailman-Users] Which user is harvesting sender emails?

Mark Sapiro mark at msapiro.net
Thu Aug 18 20:09:17 EDT 2016


On 08/18/2016 04:47 PM, Richard Hipp wrote:
> 
> My mistake.  I should have written:  "It would would be great if there
> were some way to send a message where the *Subject:* field of each
> recipient was slightly different...."
> 
> Does modifying the Subject instead of the From change your recipe significantly?


No. Depending on how you want to do it, it could be easier. I.e. if you
just wanted to put the recipient's email address in the Subject:, you
could not put any of the beginning stuff in and at the end just add

        msgsubj = msgcopy['subject']
        del msgcopy['subject']
        msgcopy['Subject'] = msgsubj + ' ' + recip

but that might be too obvious unless as Steven suggests it's a bot.

To add a code to the Subject:, you'd do all I suggested but at the end put

        code = CODES[recip.lower()]
        msgsubj = msgcopy['subject']
        del msgcopy['subject']
        msgcopy['Subject'] = msgsubj + ' ' + code

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list