spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Postmark Broadcast Support Changes before GA #188

Closed beberlei closed 4 years ago

beberlei commented 4 years ago

Postmark has now announced broadcast support to be generally available in June, with a small twist that their API for usage is changing slightly. Is this something you could incorporate into the Postmark support?

See at the bottom SMTP section: https://postmarkapp.com/support/article/1207-how-to-create-and-send-through-message-streams

Changing the SMTP itself is easy, but there probably needs to be a special case, that when the SMTP is "smtp-broadcasts.postmarkapp.com", then the header "X-PM-Message-Stream: broadcasts" has to be added where "broadcasts" is something that needs to be configurable as a new form field on the Postmark Form.

beberlei commented 4 years ago

@riasvdv an update, i went down this rabbit hole yesterday and the Swiftmailer Transport for Postmark doesn't even use SMTP, but their REST API. So there needs to be a change in wildbit/swiftmailer-postmark first, i created https://github.com/wildbit/swiftmailer-postmark/issues/28 and will work on a PR.

riasvdv commented 4 years ago

Oof, sounds like a pain, will look into this as soon as that's fixed then!

freekmurze commented 4 years ago

Closing this due to inactivity. @beberlei feel free to open up at our repo should there be anything that needs to be changed in mailcoach.