Reputation: 37095
The RFC for email addresses defines both that you can use [email protected]
as well as Kit <[email protected]>
but it doesn't appear to be calling them by any special name and so I simply went with "named". Is there a proper name for them?
class Email():
name = "Kit"
email = "[email protected]"
named = "Kit <[email protected]>"
Upvotes: 1
Views: 89
Reputation: 19995
It seems RFC just calls it mailbox.
Normally, a mailbox is comprised of two parts: (1) an optional display name that indicates the name of the recipient (which could be a person or a system) that could be displayed to the user of a mail application, and (2) an addr-spec address enclosed in angle brackets ("<" and ">").
Upvotes: 3