:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 5:15 PM
To: CF-Talk
Subject: RE: Line Breaks in Plain Text CFMail - GRRR!
Remove your 'supresswhitespace' tag. That supresses carriage returns if I
remember correctly.
Dave
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED
Yes, this does work correctly in plain text email. Thanks to everyone's
help with this.
Mark
===
cfset crlf = chr(13) chr(10)
cfset VARIABLES.formFieldsCopy =
cfif Len(ARGUMENTS.rsvpUserBadgeName)
cfset VARIABLES.formFieldsCopy = VARIABLES.formFieldsCopy Attendee
Name Badge:
Sorry to hop in on this one after a while, but I've an idea for you.
Instead of doing all your cfifs etc within the cfmail tag - do it
all prior to the cfmail tag, and build up your content within a
variable, just the way you want to. That'll avoid any extra linefeeds
etc. Then just spit out
Instead of doing all your cfifs etc within the cfmail tag - do it all
prior to the cfmail tag, and build up your content within a variable, just
the way you want to. That'll avoid any extra linefeeds etc. Then just spit
out that variable in the cfmail tag, within the cfmailpart
pre
Your Code
Should Look
Like This
/pre
On 1/29/07, Mark Leder [EMAIL PROTECTED] wrote:
Instead of doing all your cfifs etc within the cfmail tag - do it
all
prior to the cfmail tag, and build up your content within a variable,
just
the way you want to. That'll avoid any
Mark Leder wrote:
I just cannot get this to work. Sending plain text email, want to force a
line break. I've tried chr(10), chr(13), chr(13) chr(10), with and
without pound signs, restarted CFMX7. The arguments are outputting
correctly. What's the trick to this?
cfset crlf = chr(13)
Remove your 'supresswhitespace' tag. That supresses carriage returns if I
remember correctly.
Dave
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 4:10 PM
To: CF-Talk
Subject: Line Breaks in Plain Text CFMail - GRRR!
I just cannot get
: Line Breaks in Plain Text CFMail - GRRR!
Remove your 'supresswhitespace' tag. That supresses carriage returns if I
remember correctly.
Dave
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 4:10 PM
To: CF-Talk
Subject: Line Breaks in Plain
Are you viewing this in an email or outputting it to a web template?
savecontent should generate the line feeds for you and save the content the
way it was originally. If you are outputting to a template then you need to
wrap whatever in a pre tag.
Doug B.
- Original Message -
Viewing in MS Outlook as an email message.
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 5:24 PM
To: CF-Talk
Subject: Re: Line Breaks in Plain Text CFMail - GRRR!
Are you viewing this in an email or outputting it to a web template
(ARGUMENTS.rsvpGuest01BadgeName)
#ARGUMENTS.rsvpGuest01BadgeName#cfelseN/A/cfif
/cfoutput
Doug B.
- Original Message -
From: Mark Leder [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Saturday, January 27, 2007 3:26 PM
Subject: RE: Line Breaks in Plain Text CFMail - GRRR!
Viewing in MS
Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 4:24 PM
To: CF-Talk
Subject: RE: Line Breaks in Plain Text CFMail - GRRR!
So how do I get rid of the extra lines where CFIF statements are bypassed in
the code? The savecontent var that I'm building has about
Good call, I've been thinking along this line. Let me test out and I'll let
you know.
-Original Message-
From: Dave Phillips [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 5:55 PM
To: CF-Talk
Subject: RE: Line Breaks in Plain Text CFMail - GRRR!
Well, one option would
Didn't work.
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 6:03 PM
To: CF-Talk
Subject: RE: Line Breaks in Plain Text CFMail - GRRR!
Good call, I've been thinking along this line. Let me test out and I'll let
you know.
-Original
What didn't work?
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 6:10 PM
To: CF-Talk
Subject: RE: Line Breaks in Plain Text CFMail - GRRR!
Didn't work.
-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent
, but the
replace won't insert the cr lf. FWIW, I'm running this code inside a cfc.
-Original Message-
From: Dave Phillips [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 27, 2007 8:24 PM
To: CF-Talk
Subject: RE: Line Breaks in Plain Text CFMail - GRRR!
What didn't work?
-Original
16 matches
Mail list logo