jesus4u
Mar 13th, 2001, 01:38 PM
How do I format my textbody to have line breaks like the following?
Example:
hello!
Your name goes here,
and
here.
Here is my code I am using so far.
I don't want all the text to word wrap.
'--sends email to Client
Set objCDO = Server.CreateObject("CDO.Message")
objCDO.From = "returnemail"
objCDO.To = Request.Form("email")
objCDO.cc = "email, email"
Dim txtSubject
txtSubject = "Your registration " & Request.Form("name1") & " " & Request.Form("name") & " has been received. Your UserID is " & Request.Form("userID") & " Your Password is " & Request.Form("password") & " Please keep this email for future reference. "
objCDO.Subject = "Center for blah blah blah " & Request.Form("name1") & " " & Request.Form("name")
objCDO.TextBody = txtSubject
objCDO.Send
Set objCDO = nothing
Example:
hello!
Your name goes here,
and
here.
Here is my code I am using so far.
I don't want all the text to word wrap.
'--sends email to Client
Set objCDO = Server.CreateObject("CDO.Message")
objCDO.From = "returnemail"
objCDO.To = Request.Form("email")
objCDO.cc = "email, email"
Dim txtSubject
txtSubject = "Your registration " & Request.Form("name1") & " " & Request.Form("name") & " has been received. Your UserID is " & Request.Form("userID") & " Your Password is " & Request.Form("password") & " Please keep this email for future reference. "
objCDO.Subject = "Center for blah blah blah " & Request.Form("name1") & " " & Request.Form("name")
objCDO.TextBody = txtSubject
objCDO.Send
Set objCDO = nothing