Skip to content

Commit a9d7fea

Browse files
committed
Use diff instead of code comment
1 parent 790468f commit a9d7fea

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)