Languages :: PHP :: Trace bounced Emails |
|||
| By: robi |
Date: 04/10/2002 00:00:00 |
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 | 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 | Type : Comment |
|
| typo above : Return_Receipt-To should read Return-Receipt-To |
|||
| By: FiatLink | Date: 28/05/2003 07:23:00 | 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 |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








