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

  • Home
  • SEARCH
  • 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 1004415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:07:49+00:00 2026-05-16T08:07:49+00:00

Françoise Lefèvre@example.com I’m reading RFC 5321 to try to actually understand what constitutes a

  • 0
"Françoise Lefèvre"@example.com

I’m reading RFC 5321 to try to actually understand what constitutes a valid email address — and I’m probably making this a lot more difficult than it needs to be — but this has been bugging me.

               i.e., within a quoted string, any
               ASCII graphic or space is permitted
               without blackslash-quoting except
               double-quote and the backslash itself.

Does this mean that ASCII extended character sets are valid within quotes? Or does that imply standard ASCII table only?

EDIT – With the answers in mind, here’s a simple jQuery validator that could work in supplement to the the plugin’s built-in email validation to check the characters.

jQuery.validator.addMethod("ascii_email", function( value, element ) { 
    // In compliance with RFC 5321, this allows all standard printing ASCII characters in quoted text.
    // Unquoted text must be ASCII-US alphanumeric or one of the following: ! # $ % & ' * + - / = ? ^ _ ` { | } ~   
    // @ and . get a free pass, as this is meant to be used together with the email validator

    var result = this.optional(element) || 
        (
            /^[\u002a\u002b\u003d\u003f\u0040\u0020-\u0027\u002d-u002f\u0030-\u0039\u0041-\u005a\u005e-\u007e]+$/.test(value.replace(/(["])(?:\\\1|.)*?\1/, "")) &&     
            /^[\u0020-\u007e]+$/.test(value.match(/(["])(?:\\\1|.)*?\1/, ""))   
        );
    return result;
}, "Invalid characters");

The plugin’s built-in validation appears to be pretty good, except for catching invalid characters. Out of the test cases listed here it only disallows comments, folding whitespace and addresses lacking a TDL (ie: @localhost, @255.255.255.255) — all of which I can easily live without.

  • 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-05-16T08:07:50+00:00Added an answer on May 16, 2026 at 8:07 am

    According to this MSDN page the extended ASCII characters aren’t valid, currently, but there is a proposed specification that would change this.

    http://msdn.microsoft.com/en-us/library/system.net.mail.mailaddress(VS.90).aspx

    The important part is here:

    Thomas Lee is correct in that a quoted
    local part is valid in an email
    address and certain mail addresses may
    be invalid if not in a quoted string.
    However, the characters that others of
    you have mentioned such as the umlaut
    and the agave are not in the ASCII
    character set, they are extended
    ASCII. In RFC 2822 (and subsequent
    RFC’s 5322 and 3696) the dtext
    specification (allowed in quoted local
    parts) only allows most ASCII values
    (RFC 2822, section 3.4.1) which
    includes values in ranges from 33-90
    and 94-126. RFC 5335 has been proposed
    that would allow non-ascii characters
    in the addr-spec, however it is still
    labeled as experimental and as such is
    not supported in MailAddress.

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

Sidebar

Related Questions

Going to http://www.example.com/node/NID/edit , where NID is any valid nid referring to a node
I've mapped 'example.com' and 'www.example.com' to the same IP address with my hosting service
Example URL: example.com/user /user is both a symlinked directory and a valid URL to
From : www.example.com/cut/456 To : www.example.com/cut/index.php?tag=456 I try this and it doesn't work RewriteEngine
One recipient: someone@example.com mail(someone@example.com, Subject: $subject, $message, From: $email ); If I want two
example: at this domain http://www.example.com/234234/go.html is only one iframe-code how can i get the
url = http://example.com/file.xml data = urllib2.urlopen(url) data.read() The question is, when exactly will the
If I have example.com/dir and dir is basically a folder in the example.com server,
Given remote page: http://example.com/paged_list.aspx which uses a Javascript function call to display several pages
$url = example-com--folder; $searchArray = array('/-/','/--/'); $replaceArray = array('.','/'); $url = preg_replace($searchArray, $replaceArray, $url);

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.