Page 1 of 1
php mail confirmation
Posted: Fri Jun 27, 2008 7:02 am
by javedkarim
hi,
I have successfully send the email to the user through php mail function.
ie. mail("
somebody@example.com","My subject",$txt);
Now the problem is i want to confirm that whether the user has received the email or not.
is there any method or code for confirmation of the send email.
Re: php mail confirmation
Posted: Fri Jun 27, 2008 12:43 pm
by dyluck
If you are sending emails to a POP3 email address, there is no way to verrify the email was read...
I would simply set an error handler for your outgoing email to ensure that the email was at-least sent to the applicable email address (does not guarantee that the email address exists).
This would be a dream for php mailers, if we could verrify that the address was vaild before even sending the email would be awesome but there is no way as of now nor the abililty to know if a message was read/received. We can only check for correct syntax and for a valid domain...
Why don't you create a database and send a "Validate your email address" email and have it set a variable in your database based on a link you send with a post variable. This will ensure that before you send out your core email that they have a vaild email address and that there is a high chance they will read your core email.
Re: php mail confirmation
Posted: Mon Jun 30, 2008 12:15 am
by javedkarim
Thanks for your reply!!
There is no other way around !!!