Skip to content

Conversation

@andrehoong-pixieset
Copy link
Contributor

Q A
Branch? 8.1
Bug fix? no
New feature? yes
Deprecations? no
Issues N/A
License MIT

@carsonbot carsonbot added this to the 8.1 milestone Dec 9, 2025
@carsonbot carsonbot changed the title Implement the X-MC-Tags header Implement the X-MC-Tags header Dec 9, 2025
@andrehoong-pixieset andrehoong-pixieset changed the title Implement the X-MC-Tags header [Mailer][Mandrill] Implement the X-MC-Tags header Dec 9, 2025
$payload['message']['subaccount'] = $email->getHeaders()->get('X-MC-Subaccount')->getBodyAsString();
}

if ($email->getHeaders()->get('X-MC-Tags')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think either it should pass all the headers into the request or there should be an abstraction of sort. Putting the raw version defined by the provider, in my opinion, means we're leaking implementation details. And if we can't or shouldn't put an abstraction around it because it's a single provider, then I think the user of the library should be aware of the implementation details, not the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants