Skip to content

[Mime] deprecate attach/embed methods in favor of Email::addPart() #17353

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
fabpot opened this issue Oct 15, 2022 · 1 comment
Closed

[Mime] deprecate attach/embed methods in favor of Email::addPart() #17353

fabpot opened this issue Oct 15, 2022 · 1 comment
Labels
hasPR A Pull Request has already been submitted for this issue. Mime
Milestone

Comments

@fabpot
Copy link
Member

fabpot commented Oct 15, 2022

Q A
Feature PR symfony/symfony#47711
PR author(s) @fabpot
Merged in 6.2
@wouterj
Copy link
Member

wouterj commented Oct 18, 2022

Included in #17303

javiereguiluz added a commit that referenced this issue Oct 20, 2022
This PR was squashed before being merged into the 6.2 branch.

Discussion
----------

Use `addPart` instead of `embed*` or `attach*`.

Fixes #17303
Ref #17353
Ref symfony/symfony#47711
Ref symfony/symfony#47462

This PR contains the documentation for simplifications for adding parts to `Email`s.

Commits
-------

ebbffc5 Use `addPart` instead of `embed*` or `attach*`.
@xabbuh xabbuh added the hasPR A Pull Request has already been submitted for this issue. label Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue. Mime
Projects
None yet
Development

No branches or pull requests

4 participants