-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Broadcasting Streams #28
Comments
… per message via header.
@beberlei Thank you for submitting this PR and sorry for the delayed reply here. As discussed in #20 , we want to defer most of this work to the API so that customers don't need to update their clients as frequently/when we add new functionality. The Postmark API already supports setting the I have just tested this and can confirm that $message->getHeaders()->addTextHeader('X-PM-Message-Stream', 'your-custom-stream'); The ability to set the |
… for example message streams.
… for example message streams.
[GH-28] Allow to set default headers for every message
… for example message streams.
The Swiftmailer transport for Postmark does not support broadcasting streams yet.
The method
getMessagePayload
needs to check for theX-PM-Message-Stream
header defined in the docs to set the"streams"
json key:https://github.com/wildbit/swiftmailer-postmark/blob/master/src/Postmark/Transport.php#L167
https://postmarkapp.com/support/article/1207-how-to-create-and-send-through-message-streams
The text was updated successfully, but these errors were encountered: