Skip to content

Commit 76bbd4c

Browse files
committed
Merge branch 'fix-email-template' of https://github.com/hidenorigoto/symfony-docs into hidenorigoto-fix-email-template
2 parents 481a184 + 025ba09 commit 76bbd4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/email.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ an email is pretty straightforward::
109109
->setSubject('Hello Email')
110110
->setFrom('send@example.com')
111111
->setTo('recipient@example.com')
112-
->setBody($this->renderView('HelloBundle:Hello:email', array('name' => $name)))
112+
->setBody($this->renderView('HelloBundle:Hello:email.txt.twig', array('name' => $name)))
113113
;
114114
$mailer->send($message);
115115

0 commit comments

Comments
 (0)