Search code examples
zend-frameworknewslettermailing-listzend-mailmailing

Handling undelivered emails using Zend Mail


I'm sending newsletter using Zend Mail. I have used setReturnPath() to put all undelivered mail notifications in one place.

And what now?

  • How to get the list of addresses which were unreachable?
  • How do I read and parse the returned notifications?
  • How to know whether the mail returned because of non existing email or just quota exceeded?
  • Which headers do I need to send and check?

Related:


Solution

  • This class may be helpful. Can determine whether the mail is a bounce and return a response code with description: