sathishkumar
2010-May-04 05:42 UTC
[Rails] Couldn’t get bounced email id in “Failure delivery notice”
Hi All, We have an email receiver component to receive mails. We couldn’t get the bounced email id from “failure delivery notice” email. Scenario: In email receiver, we need to process the bounced emails separately as in it needs to be tracked and take a action to stop sending emails to particular email-id if it is hard bounce, and if it’s a soft bounce, we have to make a count for it and take action according to the number failures. Problem: We have found/ differentiated the bounced emails from regular emails. But we need to find out which email-id has been failed to deliver / invalid one. All email service providers are mentioning the email id in body content (“Failure delivery notice”) in different format. Question: Can you please anyone suggest me, how to find out the email-id which is failed to deliver / invalid one from that bounced email notice. Looking for a your suggestions / comments eagerly, Thanks in Advance, Regards, Sathish Kumar Sadhasivam, E-mail : srssathishkumar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mobile : +91 98948 81242 Skype : ssathishkumar22 Gtalk : sathishjob -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Mikel Lindsaar
2010-May-04 05:48 UTC
Re: [Rails] Couldn’t get bounced email id in “Failure delivery notice”
On 4, May 2010, at 4 May 15:42, sathishkumar wrote:> Question: Can you please anyone suggest me, how to find out the email-id which is failed to deliver / invalid one from that bounced email notice.The most fool proof way to do this is to get the message-id of the mail you have sent, and store that somewhere against the user you sent to. Then when you get the bounce message, dig out the message-id and then lookup the message-id in your table to find the user. Mikel Lindsaar http://rubyx.com/ http://lindsaar.net/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.