I'm using a Symfony translation file and Mailer Bundle to send an email that serves in password resetting in the following format:
<trans-unit id="resetting.email.message">
<source>resetting.email.message</source>
<target>
Hello %username%!
To reset your password - please visit %confirmationUrl%
Regards,
the Team.
</target>
</trans-unit>
I'm using hMailServer as a local mail server and Roundcube for email display. The problem is that I am receiving the email in the following format:
Hello %username%! To reset your password - please visit %confirmationUrl% Regards, the Team.
(The variables username and confirmationUrl are substituted I'm just showing how the email is being sent).
As you can see, the line breaks are ignored. How can I solve it ?
`) or use (`
...
`) for the different paragraphs. Ordinary line breaks aren't rendered in a HTML view. – M. Eriksson Mar 31 '23 at 13:45