(no subject)

[email protected] Mon, 9 Aug 2004 01:59:06 +0000 (UTC)
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


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com