Skip to content

Commit b7886aa

Browse files
committed
minor #11739 Uncomment code and add info (OskarStark)
This PR was merged into the 3.4 branch. Discussion ---------- Uncomment code and add info <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- d78f17d Uncomment code and add info
2 parents 3baeb4f + d78f17d commit b7886aa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

email.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,15 @@ an email is pretty straightforward::
114114
),
115115
'text/html'
116116
)
117-
/*
118-
* If you also want to include a plaintext version of the message
117+
118+
// you can remove the following code if you don't define a text version for your emails
119119
->addPart(
120120
$this->renderView(
121121
'Emails/registration.txt.twig',
122122
['name' => $name]
123123
),
124124
'text/plain'
125125
)
126-
*/
127126
;
128127

129128
$mailer->send($message);

0 commit comments

Comments
 (0)