Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

email

quotes

For example:

jon.o'[email protected] ?

like image 875
robotrobot Avatar asked Jan 27 '11 12:01

robotrobot


People also ask

Can you have quotation marks in an email address?

The same contact can either have quotation marks or not; the quotation marks are sometimes there when sending an original email, sometimes they appear when replying or forwarding. None of these contacts has quotation marks in the "Display As" field.

Do apostrophes matter in email addresses?

Yes, according to RFC 3696 apostrophes are valid as long as they come before the @ symbol.


1 Answers

Yes, jon.o'[email protected] is a valid email address according to RFC 5322.

From the Email address article at wikipedia (Syntax section):

The local-part of the email address may use any of these ASCII characters:

  • Uppercase and lowercase English letters (a–z, A–Z)
  • Digits 0 to 9
  • Characters ! # $ % & ' * + - / = ? ^ _ ` { | } ~
  • Character . (dot, period, full stop) provided that it is not the first or last character, and provided also that it does not appear two or more times consecutively (e.g. [email protected]).

(The syntax is formally defined in RFC 5322 section 3.4.1 and RFC 5321.)

like image 128
aioobe Avatar answered Sep 20 '22 22:09

aioobe