timhawes/ppymilter — pull request #2 by rfc83 (2012-11-15 19:27:57+00:00)
Title: Added a ReplaceBody function

Hi,

I couldn't find any function to replace or make changes to the body of a message. I created the ReplaceBody() function which takes 2 parameters; one is the body, other is the function to be executed for replacing it.

I'm pretty sure that there may be a better way to do things, but couldn't figure it out.

Thank you!