How To Validate Email Addresses

How do we validate email addresses correctly? And why don’t we just validate by sending an email?

Turns out, there are security considerations to take into account. In this video, Alex presents the main parts of email address validation, the reasoning for each of them, and a few tips on how to think and implement them properly.

This video is based on a few resources:

  • RFC 5322
  • Falsehoods about emails
  • I Knew How To Validate An Email Address Until I Read The RFC
  • Perl email validation regexp
  • Examples of verification emails
  • OWASP validation Regexp repository
  • Example of email injection
  • Wikipedia article about email addresses
  • Twitter conversation on the topic
  • SMTP Injection example

More from the Blog

Leave a Comment

Your email address will not be published. Required fields are marked *

    Your Cart
    Your cart is empty
      Apply Coupon
      Available Coupons
      individualcspo102022 Get 87.00 off
      Unavailable Coupons
      aniscppeurope2022 Get 20.00 off
      Scroll to Top