Rambomst / PHP-Bounce-Handler

Parse bounce emails and returns response status, recipient, headers, etc.
Other
7 stars 6 forks source link

email regex #15

Open yoyoy opened 5 years ago

yoyoy commented 5 years ago

hello you should use this regex instead of yours, it detect this kind of email SalomonAshley@dpchamber.org $regex = '/\b[A-Z0-9.%-]+@[A-Z0-9._-]+\.[A-Z]{2,4}\b/i';