PyDocs

Nav

Internet Data Handling

EmailMessage.add_alternative

  • EmailMessage.add_alternative(*args, content_manager=None, **kw)
If the message is a multipart/alternative, create a new message object, pass all of the arguments to its set_content() method, and attach() it to the multipart. If the message is a non-multipart or multipart/related, call make_alternative() and then proceed as above. If the message is any other type of multipart, raise a TypeError. If content_manager is not specified, use the content_manager specified by the current policy.
0 Examples
No examples for email.message/EmailMessage.add_alternative.
See Also
No see-alsos for email.message/EmailMessage.add_alternative
0 Notes
No notes for EmailMessage.add_alternative