[thelist] Textarea, hard returns, ASP, and CDOSYS

Tab Alleman Tab.Alleman at MetroGuide.com
Wed Oct 22 14:07:27 CDT 2003


I've got an html form that has a textarea field where users type the
body of an email message.

I've got an ASP script that processes the form and sends the email using
CDOSYS.

When the email arrives, the (hard) carriage-returns entered by the user
are gone.  It's all one block of text with no blank lines.  

I've tried a few different things with the wrap="" parameter of the
textarea, and by REPLACE()-ing "\n" with Chr(10) in the ASP script, but
all to no avail.

Does anybody here know the best way to get hard returns entered into a
text field to translate into vbCrLf's in an ASP script?

Thanks,
Tab


More information about the thelist mailing list