This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dylan Markow
authored and
Dylan Markow
committed
Apr 29, 2008
1 parent
481e07d
commit 6c7664a
Showing
2 changed files
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
TmailBounceParser | ||
================= | ||
|
||
Introduction goes here. | ||
|
||
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 | ||
======= | ||
|
||
Example goes here. | ||
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" | ||
|
||
|
||
Copyright (c) 2008 [name of plugin creator], released under the MIT license | ||
Released under the MIT license |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters