Hi,

ahhh another email validation question.
First I just want to say that I did search on this topic and read all the possibilities. I understand that there is no complete regex to actually determine whether an e-mail address is valid/deliverable.

I'm making a simple news letter script and want to verify / taint the e-mail input field. I'm planning to use a validation code authentication method, where it will send a email to the subscriber asking him to click a link to validate his subscription.

The problem here is that since I'm using this "validation link" method, I only want to verify that an e-mail address is typed properly (I really don't want to use two e-mail address fields). That being said, I don't really care about if the e-mail address is actually deliverable. However, if someone decides to subscribe with his e-mail and the e-mail ends up bouncing then he would never receive the validation code. The thing with bounced e-mails is that an valid working e-mail can still bounce due to a error such as full mailbox. If the e-mail does bounce, is there anyway I can make my perl script notify the subscriber through html? --

In the end, I'm really leaning towards using Email::Valid w/out the DNS lookup.

Should I be choosing any other options/route? Perhaps Email::Valid::Loose is even better?

Thanks!! tanger

In reply to Yet Another E-mail Validation Question by tanger

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.