You can use pear validate package for email address validation you can take a look at http://pear.php.net/manual/en/package.validate.validate.email.php
But for checking if you have email send or not u have to store email addresses and than check sended or not.
ARIF MAHMUD RANA
From: tamer <tamertama@yahoo.com>
To: phpexperts@yahoogroups.com
Sent: Thursday, July 21, 2011 6:16 PM
Subject: [phpXperts] mail error handling
is there any way to handle errors if i sent the email already or email user wrong ?
I need to catch the error that send from the server to the sender when the email user not found like the error that i will receive if i send email to 0000aa0000@yahoo.com
I need to catch the error that send from the server to the sender when the email user not found like the error that i will receive if i send email to 0000aa0000@yahoo.com
__._,_.___
Visit phpXperts website at www.phpxperts.net
.
__,_._,___
No comments:
Post a Comment