public
Description: Parse out information in undeliverable messages as TMail objects
Homepage:
Clone URL: git://github.com/dmarkow/tmail_bounce_parser.git
name age message
file MIT-LICENSE Tue Apr 29 11:38:40 -0700 2008 First Commit [Dylan Markow]
file README Tue Apr 29 12:18:24 -0700 2008 Update the README [Dylan Markow]
file Rakefile Tue Apr 29 11:38:40 -0700 2008 First Commit [Dylan Markow]
file init.rb Tue Apr 29 12:08:23 -0700 2008 Insert my draft code [Dylan Markow]
file install.rb Tue Apr 29 11:38:40 -0700 2008 First Commit [Dylan Markow]
directory lib/ Sat Nov 08 17:07:16 -0800 2008 v [dmarkow]
directory tasks/ Tue Apr 29 11:38:40 -0700 2008 First Commit [Dylan Markow]
directory test/ Tue Apr 29 11:38:40 -0700 2008 First Commit [Dylan Markow]
file uninstall.rb Tue Apr 29 11:38:40 -0700 2008 First Commit [Dylan Markow]
README
TmailBounceParser
=================

This is based on Recipe 70 of Rails Recipes: "Handling Bounced Email". It has been updated 
to include implementations for non-standard servers that don't include the message/delivery-status 
and message/rfc822 parts.

Example
=======

message = TMail::Mail.parse(STDIN)
undeliverable_info = message.undeliverable_info

undeliverable_info.original_sender
# => "user@example.com"

undeliverable_info.message_id
# => "1242351jfsh235j523j@ggds.sa"

undeliverable_info.status
# => "Failure"


Released under the MIT license