attachment_content_handler property

attachment_content_handler property

The delegate used to handle custom processing of email attachments.

The delegate receives the attachment name (str), content type (str), and the original attachment stream (io.RawIOBase), and must return a modified attachment stream (io.RawIOBase).

Definition:

@property
def attachment_content_handler(self):
    ...
@attachment_content_handler.setter
def attachment_content_handler(self, value):
    ...

See Also