t.m.bounce : module documentation

Part of twisted.mail View Source

Support for bounce message generation.
Function generateBounce Generate a bounce message for an undeliverable email message.
def generateBounce(message, failedFrom, failedTo, transcript=''): (source)
Generate a bounce message for an undeliverable email message.
ParametersmessageThe undeliverable message. (type: bytes)
failedFromThe originator of the undeliverable message. (type: bytes)
failedToThe destination of the undeliverable message. (type: bytes)
transcriptAn error message to include in the bounce message. (type: bytes)
ReturnsThe originator, the destination and the contents of the bounce message. The destination of the bounce message is the originator of the undeliverable message. (type: 3-tuple of (1) bytes, (2) bytes, (3) bytes)
API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.