Giter VIP home page Giter VIP logo

Comments (7)

bakura10 avatar bakura10 commented on June 9, 2024

Maybe :). Don't hesitate to do a PR if you find it useful. Actually neither me or @juriansluiman are using postmark so we cannot track changes as fast as for the services we use :)

from slmmail.

markushausammann avatar markushausammann commented on June 9, 2024

I wrote to the Postmark support to check with them. If they're indeed missing it and we end up using it I'll provide a PR. I've seen enough of both Postmark as well as your library to know that I want to use them both.

from slmmail.

markushausammann avatar markushausammann commented on June 9, 2024

They wrote back and it's not missing but documented under filters (they will soon publish clearer docs). I think it's not possible with your wrapper yet, in case I'm right I might extend it and make a PR as mentioned.

from slmmail.

bakura10 avatar bakura10 commented on June 9, 2024

If I understand it correctly it's perfectly possible.

They say you need to hit this: https://api.postmarkapp.com/bounces?messageID=bdd0ad3c-5128-4ad2-8b1d-223b1d3521dd

However it would make the signature of getBounces a bit complicated, so you could do a PR with a new method called "getMessageBounce" that do the aforementioned call.

from slmmail.

juriansluiman avatar juriansluiman commented on June 9, 2024

Just without reading docs (just lazy ATM), you have getBounce($id), isn't that sufficient for this call?

from slmmail.

bakura10 avatar bakura10 commented on June 9, 2024

Nope it seems to be different. Taht's what they say, previously you need to make a first call to get the bounce id, and then another call with the bounce id. Now, you can make directly a call without having the bounce id (just with the message id)

from slmmail.

juriansluiman avatar juriansluiman commented on June 9, 2024

Ah OK. @markushausammann can you make a PR? I would suggest to name it getBounceByMessageId() or getBounceByMessage() to make it clear what the method accepts. Would be cool to get the service implements more API completeness :)

from slmmail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.