Re: RE: ASK confirmation
Allan Simmons <[email protected]> Wed, 21 Jul 2004 11:49:43 -0400
| Newsgroups | gmane.mail.spam.active-spam-killer.general |
|---|---|
| Message-ID | <[email protected]> |
This segment in the askmail.py will prevent the line break in the subject when
confirmation mail uses Subject: original subject + conf#()
## Create 'From:' line
if (self.fullname != ''):
fromline = 'From: "%s" <%s>' % (self.fullname,
self.mail from)
else:
fromline = 'From: %s' % self.mailfrom
fh.write(fromline + "\n")
fh.write("To: " + mailto + "\n")
fh.write("Subject: " + subject)
fh.write("\n X-AskVersion: " +
askversion.AskVersion.version + "
(http://www.paganini.net/ask)\n")
(note that the line break "\n" is moved from the +subject to the "\n
x-AskVersion: ...)
When calling the original subject there is no line break therefor the
conf#() is appended
without breaking the subject line.
Allan Simmons
-----BEGIN PGP SIGNATURE-----
iQA/AwUBPabLOqNFGWdH62fIEQI/zQCg2I2a/yYoA4I86IvZGggvbGnJ5W8AoII+XlayCwaof0qUbdWoy8+szVy7=5GMx
-----END PGP SIGNATURE-----
-------------------------------------------------------
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_id=4721&alloc_id=10040&op=click