[Twisted-Python] email addresses with display names in Twisted Mail?

Jean-Paul Calderone exarkun at divmod.com
Thu Jul 3 12:52:08 MDT 2008


On Thu, 3 Jul 2008 14:45:33 -0400, Kevin Mateo Lim <k7lim at cs.stanford.edu> wrote:
>Hello all,
>
>I'd like the emails that I send with my webapp to include the display name.
>as per http://www.ietf.org/rfc/rfc2821.txt: User Name <local-part at domain>

This form is only supported for the VRFY command.  If you want an MUA to
display a real name along with an email address, then you need to include
that information in one of the MIME headers of the message you're sending.
SMTP isn't involved in that part of the process at all.

Jean-Paul




More information about the Twisted-Python mailing list