8000 Update email.rst by dominikhajduk · Pull Request #7929 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Update email.rst #7929

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 1 commit into from
Closed

Update email.rst #7929

wants to merge 1 commit into from

Conversation

dominikhajduk
Copy link
Contributor
@dominikhajduk dominikhajduk commented May 21, 2017

Add note about creating Swift_Message for Swift Mailler 6.

Update http://symfony.com/doc/current/email.html#sending-emails according to http://swiftmailer.org/docs/introduction.html as $message = \Swift_Message::newInstance() will produce Error: Class 'AppBundle\Service\Swift_Message' not found or similar for Swift Mailer 6.0.

Proposal: http://pr-7929-pgc3jri-6qmocelev2lwe.eu.platform.sh/email.html#sending-emails

Add note about creating Swift_Message for Swift Mailler 6
@javiereguiluz
Copy link
Member

@dominikhajduk thanks for contributing this fix. However, we have an earlier PR that fixes this in a different way (see #7924). We discussed about this and we prefer the other solution because it updates the entire docs to use the new syntax ... which also worked in 5.x version. Thanks!

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
0