Re: Email Template Formatting
| From: | Thomas Schulz | Date: | Fri, 14 Feb 2003 12:06:20 +0000 |
| Subject: | Re: Email Template Formatting | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7757@lists.php.net to get a copy of this message | ||
Paul Lockaby schrieb in php.smarty.general:
> And then I simply make $body be the body for the email and use phpmailer
> to send out the email. But! The email is coming through with spaces all
> missing. All the blank lines are gone and tabs are gone.
Sounds like an aktivated trimwhitespace-output-filter...
> Anyone got any
> ideas as to how to include the template in the email without losing all
> the formatting?
I do the same without problems.
You can also use textformat block funktion for better formating:
http://smarty.php.net/manual/en/language.function.textformat.php
ThS.
--
http://4bconsult.de