RE: [SMARTY] Re: problem with using Smarty as a mail template
| From: | Trish Hartnett | Date: | Mon, 05 Apr 2004 08:32:55 +0000 |
| Subject: | RE: [SMARTY] Re: problem with using Smarty as a mail template | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11229@lists.php.net to get a copy of this message | ||
Hello all,
Thank you all for taking the time to write to me, your suggestions were very
helpful.
I think that I might have solved my problem.
I was writing the template file on a Windows machine and then FTPing it to a
Unix type server.
It seems that extra new line characters were being added in when I FTPed the
files to the Uinx type machine.
I tried setting the FTP to Binary instead of ASCII but that didn't help, so
I downloaded an evaluation copy of TextPad. It provides the option for
saving a file as a Unix type file. And once I did that and FTPed it over,
the file outputted by Smarty was fine.
So it actually wasn't a problem with Smarty at all. Smarty is very cool :>
Thank you all again for your help.
Regards,
Trish.