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);