From d78f17daa5a9d193f712671f3786606d6e198545 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 13 Jun 2019 12:11:02 +0200 Subject: [PATCH] Uncomment code and add info --- email.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/email.rst b/email.rst index f0a1f181c18..0e60f8b520f 100644 --- a/email.rst +++ b/email.rst @@ -114,8 +114,8 @@ 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', @@ -123,7 +123,6 @@ an email is pretty straightforward:: ), 'text/plain' ) - */ ; $mailer->send($message);