You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR is just for visibility. Will PR upstream once complete.
Make the Mandrill message `id` accessible from the Laravel via the sent event. Message id is now available via
* the `sentMessage` messageId property. `e.g. $event->sent->getMessageId()`
* the `X-Message-ID` header `$event->message->getHeaders()->get('X-Message-ID')`
The `X-Message-ID` convention is taken from Laravel maintained mail drivers including the base SES driver.
Additionally fixes headers not being sent as part of the Mail payload, causing `X-MC-Subaccount` and similar headers not to work as expected.
In theory this should resolveluisdalmolin#30 and luisdalmolin#31
Unit tests for the message _id retrieval and header submission have been added. This did require a minor change to the Transport in order to facilitate mocking of the underlying Guzzle instance.
How to retrieve the unique Mandrill id of the message ?
The text was updated successfully, but these errors were encountered: