email.message.Message.attach()

attach(payload)

Add the given payload to the current payload, which must be None or a list of Message objects before the call. After the call, the payload will always be a list of Message objects. If you want to set the payload to a scalar object (e.g. a string), use set_payload() instead.

doc_python
2016-10-07 17:32:39
Comments
Leave a Comment

Please login to continue.