Skip to content

Commit

Permalink
Uncomment code and add info
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Jun 14, 2019
1 parent 8acaa40 commit d78f17d
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 @@ -114,16 +114,15 @@ 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 d78f17d

Please sign in to comment.