visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: PHP :: Trace bounced Emails


By: robi U.S.A.  Date: 04/10/2002 00:00:00  English  Points: 20 Status: Answered
Quality : Excellent
Hello friends,

I am sending thousands of emails, taking the emails addresses from the database, the problem is that not all the addresses are correct. While inserting into datbase i am validating the addresses by checking for @ and . symbol in it but when i send many of them are bounced back. how can i check the bounced emails and deleted them from my datbase.

help needed.
Robi
Budding PHP Developer
By: VGR Date: 04/10/2002 20:00:00 English  Type : Answer
I have read this from stevenlim@Edinburgh-Consulting.com recently :

1) make sure the email you send out have the header "Return-Path: detect-bounce@yourdomain.com\r\n" and also "Return_Receipt-To: bounce@yourdomain.com\r\n"

2) setup this detect-bounce mail account at your mail server

3) redirect the incoming mail from this email account to your php script (check your mail server doc on how to do this) (NdT: it's pretty easy on linux with sendmail)

4) your php script will then be able to process the incoming mail in whatever way you like, including to detect bounce mail message (use regexp search)

Note that the mail will not be stored after the mail server has redirected it to your script. If you want to store it, take appropriate actions in your script.

HTH,

VGR
By: VGR Date: 04/10/2002 20:01:00 English  Type : Comment
typo above : Return_Receipt-To should read Return-Receipt-To
By: FiatLink Date: 28/05/2003 07:23:00 English  Type : Comment
Can someone please explain to me how to do numbers 2 and 3 on a linux server (qmail perferred, but sendmail would be ok too)

Thank you VERY much

dbrown@port21.com

Do register to be able to answer

EContact
browser fav
page generated in 13903.717040 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page