Znarkus / postmark-php

Postmark PHP class
http://developer.postmarkapp.com/developer-libs.html#php-5
139 stars 49 forks source link

Email Validation is in error #3

Closed pixeloution closed 14 years ago

pixeloution commented 14 years ago

Hi, I noticed you updated your RegEx to validate emails, but the one you use fails on some basic legitimate email addresses such as "hellothere"@example.com - I would recommend using the library available from http://www.dominicsayers.com/isemail/ for the most comprehensive/correct email validation

Znarkus commented 14 years ago

Thanks for your feedback!

I'm having a hard time including a email validation library that is actually larger than the main class.

I could instead make it possible to override the default validation with the Adapter, and add a note in the docs.