I am working on a project and the email requirements are that the Email must be 255 characters. The reason for this number is because 255 characters is defined in the RFC which is the "Standard Format of ARPA Internet Text Messages" for maximum characters allowed in emails. For more information on the standard for emails please look here: https://en.wikipedia.org/wiki/Email_address Under the "Syntax" Sub-Heading you should see the requirements for emails.

OutSystems is only allowing 200 characters to be entered. It is also throwing an error message saying "Error creating Email. String or binary data would be truncated."

Aside from the characters matching the RFC documentation in length, I would also like to see the restrictions mimicked in OutSystems, if possible.


To be more accurate according to the RFC a valid email address is 64 characters for the "local Part" @ plus 255 characters for the domain part so technically 320 characters however many systems limit to overall 255 characters. So if you want true validation then doing a check of 64 characters plus an overall of 255 characters would be the best approach.


In addition to restrictions on syntax, there is a length limit on
   email addresses.  That limit is a maximum of 64 characters (octets)
   in the "local part" (before the "@") and a maximum of 255 characters
   (octets) in the domain part (after the "@") for a total length of 320
   characters.  Systems that handle email should be prepared to process
   addresses which are that long, even though they are rarely

Thank you John for the clarification. Sorry if that was confusing at first! Ultimately, I would like to see the email validation match the RFC.