I’m attempting to add an email address to a mailing list and am receiving the following:
The following emails could not be imported:
name@domainfirst_domainsecond.org
Is there a way to have EE accept domain names that contain an underscore?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 25, 2008 4:37pm
Subscribe [2]#1 / Feb 25, 2008 4:37pm
I’m attempting to add an email address to a mailing list and am receiving the following:
The following emails could not be imported:
name@domainfirst_domainsecond.org
Is there a way to have EE accept domain names that contain an underscore?
#2 / Feb 25, 2008 4:48pm
ExpressionEngine’s email address validation follows RFC 3696’s convention on allowable characters for a fully qualified domain name, which is:
Any characters, or combination of bits (as octets), are permitted in
DNS names. However, there is a preferred form that is required by
most applications. This preferred form has been the only one
permitted in the names of top-level domains, or TLDs. In general, it
is also the only form permitted in most second-level names registered
in TLDs, although some names that are normally not seen by users obey
other rules. It derives from the original ARPANET rules for the
naming of hosts (i.e., the “hostname” rule) and is perhaps better
described as the “LDH rule”, after the characters that it permits.
The LDH rule, as updated, provides that the labels (words or strings
separated by periods) that make up a domain name must consist of only
the ASCII [ASCII] alphabetic and numeric characters, plus the hyphen.
No other symbols or punctuation characters are permitted, nor is
blank space. If the hyphen is used, it is not permitted to appear at
either the beginning or end of a label. There is an additional rule
that essentially requires that top-level domain names not be all-
numeric.
Is the address you are having a problem with a locally mapped DNS name you are using, or is this a publicly accessible domain?
#3 / Feb 25, 2008 4:55pm
It is not a locally mapped DNS.
The domain in question does not have a corresponding website however. As far as I’m aware, it is used only for email addresses within their organization.
I’m double-checking with one of my staffmembers that the email address I’m attempting to enter is a good one and that emails have successfully been sent/received using an email client (Outlook in this case).
#4 / Feb 25, 2008 5:03pm
Found the issue. The domain name was incorrectly supplied. The underscore was supposed to be a dash. Thanks for the quick support, but it was user error rather than system bug.
#5 / Feb 25, 2008 5:04pm
Ok, please keep me updated, Tripp.
#6 / Feb 25, 2008 5:10pm
I cross posted with you, Tripp. Thanks for the update, and glad it’s resolved!
#7 / Feb 25, 2008 5:11pm
Email was successfully entered using a dash. Consider this ticket closed.