We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8acaa40 commit d78f17dCopy full SHA for d78f17d
email.rst
@@ -114,16 +114,15 @@ an email is pretty straightforward::
114
),
115
'text/html'
116
)
117
- /*
118
- * If you also want to include a plaintext version of the message
+
+ // you can remove the following code if you don't define a text version for your emails
119
->addPart(
120
$this->renderView(
121
'Emails/registration.txt.twig',
122
['name' => $name]
123
124
'text/plain'
125
126
- */
127
;
128
129
$mailer->send($message);
0 commit comments