[thelist] ASP and email creation

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Thu Sep 9 14:20:48 CDT 2004


   Yes.  vbCRLF (Carriage Return Line Feed) is what you want.


 From: Rob Smith rob.smith at THERMON.com

Hi list,

On php you can do \r\n to force a new line carriage return. Is the ASP
equivalent vbCRLF?

I'm making and ASPSendMail email with CDONTS and I'm abandoning the html
email creation and resorting back to plain text.

So, before it was to get html:

myCDONTSMail.bodyformat = 0
myCDONTSMail.mailformat = 0
myCDONTSMail.Body = " .. blah blah 

to, after
myCDONTSMail.Body = " .. blah blah " & vbCRLF

Can someone confirm that will do the trick?

Rob Smith

More information about the thelist mailing list