PyDocs

Nav

Internet Data Handling

make_msgid

email.utils

function (source)
  • make_msgid(idstring=None, domain=None)
Returns a string suitable for RFC 2822 compliant Message-ID, e.g:

<142480216486.20800.16526388040877946887@nightshade.la.mastaler.com>

Optional idstring if given is a string used to strengthen the
uniqueness of the message id.  Optional domain if given provides the
portion of the message id after the '@'.  It defaults to the locally
defined hostname.
Changed in 3.2
  • 3.2: Added the domain keyword.
0 Examples
No examples for email.utils/make_msgid.
See Also
No see-alsos for email.utils/make_msgid
0 Notes
No notes for make_msgid