Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Mailer] add Mailtrap bridge #58252

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

Merged
merged 1 commit into from
Sep 18, 2024
Merged

[Mailer] add Mailtrap bridge #58252

merged 1 commit into from
Sep 18, 2024

Conversation

kbond
Copy link
Member

@kbond kbond commented Sep 13, 2024

Q A
Branch? 7.2
Bug fix? no
New feature? yes
Deprecations? no
Issues n/a
License MIT

This adds a new mailer bridge for Mailtrap (their sending feature - not email testing).

Documentation

Recipe

@kbond
Copy link
Member Author

kbond commented Sep 13, 2024

Thanks for the reviews!

@fabpot
Copy link
Member

fabpot commented Sep 18, 2024

Thank you @kbond.

@fabpot fabpot merged commit 31aa837 into symfony:7.2 Sep 18, 2024
5 of 10 checks passed
@kbond kbond deleted the feat/mailtrap branch September 18, 2024 16:13
OskarStark added a commit to symfony/symfony-docs that referenced this pull request Sep 19, 2024
This PR was merged into the 7.2 branch.

Discussion
----------

[Mailer] add Mailtrap docs

Documentation for
* symfony/symfony#58252

Commits
-------

e425caf [Mailer] add Mailtrap docs
@fabpot fabpot mentioned this pull request Oct 27, 2024
@gaalferov
Copy link

Hi everyone, Mailtrap already has PHP SDK and integration with Symfony framework https://github.com/railsware/mailtrap-php/tree/main/src/Bridge/Symfony
@fabpot Can I help with improving the current code and supporting all the features of this provider? (custom headers,etc)

@stof
Copy link
Member

stof commented Nov 4, 2024

@gaalferov official mailer bridges are not about being full SDKs for the API of a provider, supporting all features supported by that API. They are about implementing the Mailer abstraction using that provider, so that you can write the same code using symfony/mailer and symfony/mime and have it working with those providers.
For instance, that's why template variables are not supported in any such bridge, because each provider has its own syntax for the content of templates, and so we could not build a proper abstraction in symfony/mailer that would be backed by such provider templates.

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.

7 participants