problem with using Smarty as a mail template
| From: | Trish Hartnett | Date: | Fri, 02 Apr 2004 15:30:26 +0000 |
| Subject: | problem with using Smarty as a mail template | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11222@lists.php.net to get a copy of this message | ||
Hello,
I have been using Smarty with standard HTML files successfully for a while
now. I'm currently trying to use Smarty as a mail template. It works fine,
but the formatting new empty lines are being inserted all over the place.
For example the template (.tpl) file I'm using looks like:
" General Information
1. Where do I log in to access my account?
2. What is my username and password ?
"
The file produced by Smarty looks like:
" General Information
1. Where do I log in to access my account?
2. What is my username and password ?
"
Is there anyway to get around this problem of insertion of new lines ?
Thanks in advance for any advice offered.
Best Regards,
Trish.