Umesh Tayade

Umesh Tayade

  • NA
  • 3
  • 4.7k

Retriving Hard and Soft Bounce mails

Nov 16 2012 6:05 AM
Hi,

I want to retrieve all the Hard and Soft bounces from mailbox and find out the Failed Recipient address. As i have a Automation that send mails to different Email Address also there will be different mail address for from field. so i want to retrieve all the bounce mails from the mailbox and retrieve the mail address of that recipient. I have uploaded the code that fetch all the mails from my gmail inbox but how i can verify whether  it is bounce mail or not? which parameter in the mail header specifies whether it is bounce mail as there is no error code in the bounce mail reply which is shown in the reply mail if reply sent to the outlook account.

Thanks,
Umesh Tayade