Re: [SMARTY] Re: Email Template Formatting

From: Date: Fri, 14 Feb 2003 14:51:31 +0000
Subject: Re: [SMARTY] Re: Email Template Formatting
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7761@lists.php.net to get a copy of this message
Thomas Schulz wrote:
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...
That was indeed my problem. I have a followup question, though. I have the output filter enabled with the following command: $smarty->load_filter("output","trimwhitespace"); I want to enable this filter for all other templates, just not the email template. How difficult is it to do that? Thank you, Paul Lockaby -- Paul Lockaby paul@paullockaby.com http://www.paullockaby.com

« previous php.smarty.general (#7761) next »