Re: [SMARTY] problem with using Smarty as a mail template
| From: | Rainer Müller | Date: | Fri, 02 Apr 2004 16:16:55 +0000 |
| Subject: | Re: [SMARTY] problem with using Smarty as a mail template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11224@lists.php.net to get a copy of this message | ||
Trish Hartnett schrieb:
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. Maybe it is a problem with Windows (\r\n) and Linux (\n) line breaks?Rainer