Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8552539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:26:43+00:00 2026-06-11T14:26:43+00:00

We are using the following validation code to check for a valid email address

  • 0

We are using the following validation code to check for a valid email address formatting on a web form driving by Lotus Notes:

@If((@ValidateInternetAddress([Address821]; @ThisValue)!="" 
| @Contains(@ThisValue; "\"") | @Contains(@ThisValue; "'") 
| @Contains(@ThisValue; " ")); "Please include a valid email address."; "");

Currently, if a user enters any of the following inputs, the verification throws the error message:

  • empty field
  • ” “, ‘, or / character
  • the domain portion of the email: “test.com”
  • only @

However, if a user enters test@test the form validates this as a valid email address format.

Is this format considered to be a valid “Address821” format? Or is the form validating an incorrect format as a valid email address?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:26:44+00:00Added an answer on June 11, 2026 at 2:26 pm

    Yes, it technically is valid address syntax, both by past and current standards.

    The language in the RFC’s has evolved over time:

    RFC-821: 3.7. DOMAINS

    Domains are a recently introduced concept in the ARPA Internet mail
    system. The use of domains changes the address space from a flat
    global space of simple character string host names to a hierarchically
    structured rooted tree of global addresses. The host name is replaced
    by a domain and host designator which is a sequence of domain element
    strings separated by periods with the understanding that the domain
    elements are ordered from the most specific to the most general.

    This isn’t very precise. It doesn’t explicitly say that there must be more than one element in the domain name, but it doesn’t explicitly prohibit it either. But this was obsoleted by:

    RFC-2821: 2.3.5 Domain

    A domain (or domain name) consists of one or more dot-separated
    components.
    …
    The domain name, as described in this document and in [22], is the entire, fully-qualified name (often referred to as an “FQDN”). A domain name that is not in FQDN form is no more than a local alias. Local aliases MUST NOT appear in any SMTP transaction.

    This seems to be saying that it’s illegal, but actually it isn’t saying that. I’ll explain below, but first let’s have a look at the draft standard that is intended to obsolete 2821, and which clarifies things a great deal:

    RFC-5321 2.3.5 Domain Names

    A domain name (or often just a “domain”) consists of one or more components, separated by dots if more than one appears. In the case of a top-level domain used by itself in an email address, a single string is used without any dots. This makes the requirement, described in more detail below, that only fully-qualified domain names appear in SMTP transactions on the public Internet, particularly important where top-level domains are involved.
    …
    The domain name, as described in this document and in RFC 1035 [2], is the entire, fully-qualified name (often referred to as an “FQDN”). A domain name that is not in FQDN form is no more than a local alias. Local aliases MUST NOT appear in any SMTP transaction.

    What this makes clear is that no dot is required in a domain name, as long as it is a top level domain.

    @ValidateInternetAddress cannot reasonably know whether “test” is a valid top level domain. Even if IBM programmed in the list of approved public TLD’s (which IMHO would be a bad idea since it can and does change), you can in fact set up a private TLD called “test” in your own DNS. That’s not the same thing as a “local alias” which the standard does prohibit. There’s no rule against actual TLDs.

    And for that matter, it could even be a public TLD. Theoretically, the owner of a TLD could set up a mail server for the TLD. I.e., President@US, or Queen@UK. Not likely, but possible in those cases, but with all the new TLD’s coming on line, I wouldn’t be surprised if some of the registrars are using info@domain.

    I guess theoretically @ValidateInternetAddress could make the DNS call to check whether it can resolve “test” as a TLD, but the doc for that function only says that it checks the syntax of the address, and the existence of the TLD is a semantic issue, not a syntax issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the following code for my form validation. The code is working
i am using a jquery validation in form my code is following Jquery $(document).ready(function
Currently i am validating the validation form for phone number using the following code
I'm using the following code to check if a valid date has been typed
I am using jQuery validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) Following code is a part of form
For example, if I'm doing some form input validation and I'm using the following
I have following nested objects. I am using @Valid for validation in my controller.
I'm using xVal for client-side validation, I have the following code: <%@ Control Language=C#
I'm using a bunch of different asp.net validation controls on a web form. Some
I am using the following code pattern for password validation. For some reason the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.