Email Address Formatting and Validation/Verification

Email addresses should conform to the RFC822 standard for internet email addresses. The system corrects common user-input errors.

Below is a functional description of the algorithm to format, validate, and verify email addresses captured from the constituent.

  1. Scan received email address string for the @ character and domain name. If either component is missing, the correction algorithm exits and returns an error message indicating that the email address submitted is invalid.

  2. Attempt to match the email domain with the following domains allowing for detection and correction of single character misspellings (such as, Yaho vs. Yahoo, hatmail vs. hotmail): yahoo.com, aol.com, hotmail.com, comcast.net, sbcglobal.net, msn.com, cox.net, verizon.net

  3. Check the domain for a valid MX (mail exchanger) record. If a valid MX record is found, no further correction is done.

  4. Attempt to match the email TLD (top-level domain) with the following TLDs in listed order, allowing for detection and correction of single character misspellings (such as con vs. com, orf vs. org): com, net, org, edu, gov, info, mil, biz, aero, asia, cat, coop, int, jobs, mobi, museum, name, pro, tel, travel

After the email text string constituent input has been processed by the above algorithm, the properly formatted and validated email address is written to the constituent record. If the email address formatting/validating/verifying algorithm cannot continue processing at any step because of errors in the constituent input data, the algorithm reports that invalid input was detected and requests input correction.