diff --git a/email.rst b/email.rst index a4c9a3a464f..4de99f390f3 100644 --- a/email.rst +++ b/email.rst @@ -82,6 +82,7 @@ sending an email is pretty straightforward:: // you can remove the following code if you don't define a text version for your emails ->addPart( $this->renderView( + // templates/emails/registration.txt.twig 'emails/registration.txt.twig', ['name' => $name] ),