Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

PHP notification endpoint for ElasticEmail
  • Vote Up0Vote Down texasjohntexasjohn
    Posts: 36Sendy user

    All- I'm testing with other ESPs besides SES to see if I can increase deliverability. I was using SparkPost until they raised prices the other week. Trying out ElasticEmail (just as an SMTP relay). Has anyone built out any PHP to handle their notifications (specifically bounces and complaints)? Code would be primarily parsing out the request and bounce reasons; I can re-use a lot of Sendy cod for updating the db but trying to not re-invent the wheel here. Haven't found anything on github or through ElasticEmail support. Anyone work through this and have some code they would be willing to share?

    Thanks!

  • 3 Comments
  • Vote Up0Vote Down texasjohntexasjohn
    Posts: 36Sendy user

    At this point, going to build my own code- will post it here once it's done and working.

    I'm going to let EE handle soft bounce processing on their side (I won't mark it in Sendy), but will dump all the message from EE into a table so I can inspect after the fact and see what's going on. I will mark hard bounces and complaints in Sendy, though, so I've got a permanent record.

    There isn't a 1-for-1 with message categories between https://elasticemail.com/support/user-interface/settings/notifications/ and https://elasticemail.com/support/user-interface/reports/bounced-category-filters/ (which is why I'll only worry about hard bounces and complaints).

  • Vote Up0Vote Down BlaineBlaine
    Posts: 26Sendy user

    I haven't integrated EE but have integrated webhooks and API mailers for a couple services, you can use my projects as a starting point if you want. I tried to make it so you could plug & play new service files relatively easily without having to write everything from scratch. https://github.com/BlaineMoore

  • Vote Up0Vote Down texasjohntexasjohn
    Posts: 36Sendy user

    Thanks! I've got something similar (what I've used for Mandrill and Sparkpost), but for some reason it's dropping db writes. I'm also logging all events to a flat file at the same time so I can figure out what's dropping and what isn't.