Remove bad setreply example, doc updates.

This commit is contained in:
Stuart Gathman
2013-03-19 21:25:10 +00:00
parent 5330047902
commit 5c8c189330
5 changed files with 80 additions and 22 deletions
-1
View File
@@ -104,7 +104,6 @@ class myMilter(Milter.Base):
def eom(self):
self.fp.seek(0)
msg = email.message_from_file(self.fp)
self.setreply('250','2.5.1','Grokked by pymilter')
# many milter functions can only be called from eom()
# example of adding a Bcc:
self.addrcpt('<%s>' % 'spy@example.com')