PyDocs

Nav

Internet Data Handling

EmailMessage.__getitem__

  • EmailMessage.__getitem__(name)
Get a header value.

Return None if the header is missing instead of raising an exception.

Note that if the header appeared multiple times, exactly which
occurrence gets returned is undefined.  Use get_all() to get all
the values matching a header field name.
0 Examples
No examples for email.message/EmailMessage.__getitem__.
See Also
No see-alsos for email.message/EmailMessage.__getitem__
0 Notes
No notes for EmailMessage.__getitem__