Re: RE: ASK confirmation

Marc Herbert <[email protected]> Fri, 16 Jul 2004 12:00:53 +0300 (EEST)
Newsgroups gmane.mail.spam.active-spam-killer.general
Message-ID <Pine.LNX.4.58.0407161156130.4110@fcat>
On Thu, 15 Jul 2004 [email protected] wrote:

> # I have a request to modify the Subject line of the confirmation email
> sent out by ask.
>
> # Is there any way to have ASK include RE: original Subject + the conf#%
> # on the subject line of the confirmation email so the recipient can
> recognize it as a
> # response to their email and not perceive it as and advertisement based on
> the subject.
>
> # I have looked at the askmessage.py that generated the subject but can not
> figure out how
> # to include the original subject.
>
> # Help would be appreciated.
> # Thanks
>
> I figured it out. If any one else want's to know how to do it.

You could have found this solution in the sourceforge tracker:

http://sourceforge.net/tracker/index.php?func=detail&aid=588023&group_id=42266&atid=432548


> Edit the  askmessage.py  replace line 459
> "Please confirm (conf#%s)" % self.ascii_digest,
> With
> "RE: %s   -  Please confirm (conf#%s)" % (self.get_subject(), self.ascii_digest),

DON'T DO THAT !

I discovered the hard way that ASK (or the python mail library,
dunno...) wraps long subject lines at some unknown point.  If the
subject line is long, the confirmation code may end up splitted on two
different lines and rendered ineffective. The workaround is to keep
the confirmation code at the _beginning_ of the line (and the original
subject at the end).

See above URL for more details.




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click