[Pymilter] Where do I find details of the class variables?

Stuart D. Gathman stuart at bmsi.com
Thu Oct 20 15:26:46 EDT 2011


On Thu, 20 Oct 2011, durwin at mgtsciences.com wrote:

> So to actually modify the email I would alter the buffer passed in?

You isolate the body (the part after the headers), and call self.replacebody()
with the modified body.  To modify headers, use self.addheader() and
self.chgheader().

> What about adding a header? How is that accomplished?

Use self.addheader().

--
 	      Stuart D. Gathman <stuart at bmsi.com>
     Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.



More information about the Pymilter mailing list