Thanks very much for that thorough summary of related RFCs that I hadn't reviewed recently. It was quite helpful and informative.

My main take-away is that my guess based on observations was pretty accurate. I think I'll choose to be encouraged by the statement that domains for e-mail addresses are restricted to mundane characters and to take it as reason to ignore (for now) the hints that arbitrary binary labels might need to be supported.

As for the comments about my decisions being "internal", they are actually decisions about what forms of e-mail addresses we will accept from any user on the internet who wishes to register for some of our services. So it isn't strictly "internal". But I also think that it isn't something strictly covered by these RFCs (we aren't using the system to implement something that talks SMTP, for example). The protocol involved is "accepting text from random users over the internet", so I think some simplification is warranted.

- tye        


In reply to Re^2: Practical e-mail address validation (other RFCs) by tye
in thread Practical e-mail address validation by tye

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.