开发者

What's the name of the "Kit <kitsunde@gmail.com>" form of writing an email address?

开发者 https://www.devze.com 2023-03-26 21:08 出处:网络
The RFC for email addresses defines both that you can use kit@example.com as well as Kit <kitsunde@gmail.com> bu开发者_高级运维t it doesn\'t appear to be calling them by any special name and so

The RFC for email addresses defines both that you can use kit@example.com as well as Kit <kitsunde@gmail.com> bu开发者_高级运维t 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 = "kitsunde@gmail.com"
    named = "Kit <kitsunde@gmail.com>"


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 ">").

0

精彩评论

暂无评论...
验证码 换一张
取 消