Are single quotes legal in the name part of an email address?

前端 未结 3 2040
孤城傲影
孤城傲影 2021-02-01 13:52

For example:

jon.o\'conner@example.com ?

3条回答
  •  悲&欢浪女
    2021-02-01 14:17

    Although the answer is correct according to RFC 5322 the practice of using the quote (') has holes. Since it is string delimiter, too many automation and integration services fail when this character is used.

    You will note that professional mail services like GMail do not allow it.

    Strongly suggest that you use the alternate quote (`) if you need it, but in practice it should be avoided.

提交回复
热议问题