Skip to content

Commit 4c1b536

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: Uncomment code and add info
2 parents b2885ea + b33e01d commit 4c1b536

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
@@ -78,16 +78,15 @@ sending an email is pretty straightforward::
7878
),
7979
'text/html'
8080
)
81-
/*
82-
* If you also want to include a plaintext version of the message
81+
82+
// you can remove the following code if you don't define a text version for your emails
8383
->addPart(
8484
$this->renderView(
8585
'emails/registration.txt.twig',
8686
['name' => $name]
8787
),
8888
'text/plain'
8989
)
90-
*/
9190
;
9291

9392
$mailer->send($message);

0 commit comments

Comments
 (0)