Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blank Lines within Email Body 2

Status
Not open for further replies.

scohan

Programmer
Dec 29, 2000
283
0
0
US
I'm using CDONTS within and ASP page to send out a confirmation email message. I'd like to separate the lines of the text with blank lines, but I don't know how. Is there an ascii character or something I can use? Thanks.
 
Microbe may be correct for VBScript. Javascript would be:

var sMailBody = "blah blah blah\r\n";
sMailBody += "yada yada yada\r\n";

Good luck
-pete
 
Method -1.
use the combination of chr(10)&chr(13) to display a single line break

Method-2.
include <p> tag where the single line space is required and set the bodyformat and mailformat properties to zero of mail object.

Method-3

Use Vbcrlf as asp variable in the string.
M.Krishna Reddy
VisualSoft Technologies Ltd.
Hyderabad, India -500 016

e-mail : mckreddy@dev.vsofti.stph.net

url :
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top