PyDocs

Nav

Internet Data Handling

EmailMessage.get_filename

  • EmailMessage.get_filename(failobj=None)
Return the filename associated with the payload if present.

The filename is extracted from the Content-Disposition header's
'filename' parameter, and it is unquoted.  If that header is missing
the 'filename' parameter, this method falls back to looking for the
'name' parameter.
0 Examples
No examples for email.message/EmailMessage.get_filename.
See Also
No see-alsos for email.message/EmailMessage.get_filename
0 Notes
No notes for EmailMessage.get_filename