PHP Classes

Bounce Handler: Parse bounced e-mail message reports

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (9)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 8,362 This week: 3All time: 199 This week: 62Up
Version License Categories
bouncehandler 1.0.0BSD LicenseEmail, Text processing
Description Author

This class can be used to parse bounced message reports.

It parses e-mail messages with multipart report content type formatted according to RFC 1892 and 1894 documents.

If the bounce is not well formed, it also tries to extract some useful information. Exim is supported, partially. Please send bounce messages from your busted MTA, I'll extend the class to support them.

It can extract the the address of the recipient that bounced as well the mail server response status code.

Innovation Award
PHP Programming Innovation award nominee
November 2005
Number 4


Prize: One downloadable copy of Komodo Pro
Sending newsletters or other types of messages to many users is a task that presents certain challenges that need to be handled in an appropriate manner. One of such challenges is to deal with messages that bounce due to temporary or permanent delivery problems.

This class can parse bounced messages and extract the address that is bouncing and determine the severity of the bouncing problem. This allows developers to treat the bounced messages properly, for instance suspending the delivery of further messages, or maybe try again later.

Manuel Lemos
Picture of Chris Fortune
Name: Chris Fortune <contact>
Classes: 1 package by
Country: Canada Canada
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file bounce_driver.class.php Class chops up the bounce into associative arrays
Accessible without login Plain text file rfc1893.error.codes.php Data RFC1893 error codes, in associative arrays
Accessible without login Plain text file testdriver1.php Example test the code and read the documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:8,362
This week:3
All time:199
This week:62Up
User Ratings User Comments (5)
 All time
Utility:90%StarStarStarStarStar
Consistency:78%StarStarStarStar
Documentation:-
Examples:86%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1187
 
Great, thank you.
7 years ago (Antonie Potgieter)
67%StarStarStarStar
For sure because is outdated this package really need love bu...
7 years ago (Jean-Christophe)
65%StarStarStarStar
Though it appears to have been last updated on 2010-09-18, th...
11 years ago (brett brewer)
52%StarStarStar
Excellent post.
11 years ago (Thangaraj)
70%StarStarStarStar
Excellent
12 years ago (kishore kumar)
70%StarStarStarStar
 
For more information send a message to info at phpclasses dot org.