Skip to content

Ability to customize payload when sending mail through mailjet+api #45152

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

Closed
wants to merge 0 commits into from

Conversation

gam6itko
Copy link
Contributor

Q A
Branch? 5.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #44100
License MIT
Doc PR symfony/symfony-docs#...

Make able to set custom properties like TemplateID via headers.

User can easily switch between smtp and api transport with keeping headers payload

@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 6.1 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@gam6itko gam6itko changed the base branch from 6.1 to 5.4 January 24, 2022 13:56
@carsonbot
Copy link

Hey!

I think @tcheymol has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@tcheymol
Copy link
Contributor

tcheymol commented Feb 8, 2022

Feels good for me, I can't wait to try this 😁

@gam6itko gam6itko changed the base branch from 5.4 to 6.1 February 8, 2022 09:51
@gam6itko gam6itko changed the title [symfony/mailjet-mailer] Ability to customize payload when sending mail through mailjet+api [Mailer] Mailjet. Ability to customize payload when sending mail through mailjet+api Feb 12, 2022
@nicolas-grekas nicolas-grekas changed the title [Mailer] Mailjet. Ability to customize payload when sending mail through mailjet+api [Mailer] Ability to customize payload when sending mail through mailjet+api Feb 13, 2022
@carsonbot carsonbot changed the title [Mailer] Ability to customize payload when sending mail through mailjet+api Ability to customize payload when sending mail through mailjet+api Feb 21, 2022
@fabpot
Copy link
Member

fabpot commented Feb 25, 2022

Thank you @gam6itko.

fabpot added a commit that referenced this pull request Feb 25, 2022
… mailjet+api (gam6itko)

This PR was squashed before being merged into the 6.1 branch.

Discussion
----------

Ability to customize payload when sending mail through mailjet+api

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | yes <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #44100 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Make able to set custom properties like `TemplateID` via headers.

User can easily switch between smtp and api transport with keeping headers payload

Commits
-------

9a31686 Ability to customize payload when sending mail through mailjet+api
@fabpot fabpot closed this Feb 25, 2022
@fabpot fabpot force-pushed the mailjet_api_header1 branch from 765a3ff to 9a31686 Compare February 25, 2022 07:35
@gam6itko gam6itko deleted the mailjet_api_header1 branch February 25, 2022 08:52
@fabpot fabpot mentioned this pull request Apr 15, 2022
@94noni
Copy link
Contributor

94noni commented Apr 26, 2022

@gam6itko @fabpot is it normal the PR does not contains code?
referenced from the #46049 (also on Symfony-docs repo there is an issue pointing to this)
thank you

@gam6itko
Copy link
Contributor Author

@94noni here 9a31686

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.

[symfony/mailjet-mailer] Being able to customize payload when sending mail through mailjet+api
6 participants