符合 RFC822 标准的 SMTP 地址

RFC822 compliant SMTP address

关于以下 SMTP 地址是否符合 RFC822,我得到的答案不一:

"Jane Doe" <jane.doe@acme.com> 

以上格式是否符合要求,还是仅应符合:

jane.doe@acme.com

?

查看了 RFC822 中的以下地址规范:

   6.  ADDRESS SPECIFICATION

 6.1.  SYNTAX

 address     =  mailbox                      ; one addressee
             /  group                        ; named list

 group       =  phrase ":" [#mailbox] ";"

 mailbox     =  addr-spec                    ; simple address
             /  phrase route-addr            ; name & addr-spec

 route-addr  =  "<" [route] addr-spec ">"

 route       =  1#("@" domain) ":"           ; path-relative

 addr-spec   =  local-part "@" domain        ; global address

 local-part  =  word *("." word)             ; uninterpreted
                                             ; case-preserved

 domain      =  sub-domain *("." sub-domain)

 sub-domain  =  domain-ref / domain-literal

 domain-ref  =  atom                         ; symbolic reference

两个电子邮件地址均有效,如需进一步检查电子邮件地址 RFC822 合规性,请使用以下工具。

http://sphinx.mythic-beasts.com/~pdw/cgi-bin/emailvalidate

更新

RFC822 已被 RFC2822 废弃以检查 RFC2822 使用

http://proxy2.de/email-validation.php

编辑

感谢@jstedfast,上面的 link 也验证了 RFC5322。