Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b33e01d

Browse files
committed
Merge branch '3.4' into 4.2
* 3.4: Uncomment code and add info
2 parents 8ed6017 + b7886aa commit b33e01d

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
@@ -73,16 +73,15 @@ sending an email is pretty straightforward::
7373
),
7474
'text/html'
7575
)
76-
/*
77-
* If you also want to include a plaintext version of the message
76+
77+
// you can remove the following code if you don't define a text version for your emails
7878
->addPart(
7979
$this->renderView(
8080
'emails/registration.txt.twig',
8181
['name' => $name]
8282
),
8383
'text/plain'
8484
)
85-
*/
8685
;
8786

8887
$mailer->send($message);

0 commit comments

Comments
 (0)