Microsoft-graph-docs: Valid Email Format

Created on 5 Oct 2019  Â·  5Comments  Â·  Source: microsoftgraph/microsoft-graph-docs

What's the allowed format for characters in email addresses? Is there an API I can use to valid email addresses? When trying to use an email address of the format "[email protected]" I get an exception saying "The Primary SMTP Address is an invalid value".


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Most helpful comment

Just curious about this list of "special characters are not permitted in the email address" for the invitedUserEmailAddress property. I see that "At sign (@)" is in there. Is that a typo? (I don't know any email addresses without an @)

All 5 comments

As per the article I found HERE, you can start your verification with something like this:

Your email address can contain only letters, numbers, periods (.), hyphens (-), and underscores (_). It can't contain special characters, accented letters, or letters outside the Latin alphabet.

This is a shame. RFC5322 specifies that other characters such as pluses (+) should be allowed in the local part of an e-mail address. Trying to add guests to our O365 tenant who have plus signs in their e-mail addresses fails.

Added a list of the characters that aren't allowed.

Added a list of the characters that aren't allowed.

I'm not sure that this is a solution? You're fundamentally saying that sure, the standard says one thing, but you accept you're not going to ever meet that standard?

Just curious about this list of "special characters are not permitted in the email address" for the invitedUserEmailAddress property. I see that "At sign (@)" is in there. Is that a typo? (I don't know any email addresses without an @)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mlafleur picture mlafleur  Â·  3Comments

GregSpyra picture GregSpyra  Â·  4Comments

climam picture climam  Â·  4Comments

findyoucef picture findyoucef  Â·  4Comments

Chotimir picture Chotimir  Â·  3Comments