Skip to content

Commit

Permalink
Merge branch '3.4' into 4.2
Browse files Browse the repository at this point in the history
* 3.4:
  Uncomment code and add info
  • Loading branch information
javiereguiluz committed Jun 14, 2019
2 parents 8ed6017 + b7886aa commit b33e01d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,15 @@ sending an email is pretty straightforward::
),
'text/html'
)
/*
* 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
->addPart(
$this->renderView(
'emails/registration.txt.twig',
['name' => $name]
),
'text/plain'
)
*/
;

$mailer->send($message);
Expand Down

0 comments on commit b33e01d

Please sign in to comment.