Non-US-ASCII characters in the local part of email addresses
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- Trying to add a new user with an email address containing the letter 'ñ' in the local part, it seems that is not considered a valid character.
Environment
- Liferay Portal 6.2
- Liferay DXP 7.x
Resolution
- RFC 5322 (section 3.2.3) defines the allowed characters in the local part of an email address. These are US-ASCII alphabetical and numerical ones, plus a few additional printable ones and a few special characters that need to be surrounded by quote.
- RFC 6533 is about transmiting an email message using the SMTPUTF8 extension and Internationalized Email Headers, but both are experimental protocols non followed by Liferay DXP.
- As conclusion, non-US-ASCII characters are not allowed in the local part of an email address.
Did this article resolve your issue ?