Skip to content

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