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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

page break in email

Status
Not open for further replies.

cic

Technical User
Apr 12, 2001
28
US
I am trying to figure out a way to do a page break within the email I am sending. this is part of my code. i would like to have two pages print out. Can anyone help me out?

Thanks

body = body & "COMMENTS:..........." & request.form("comments") & vbCrLf

body = body & "HOTEL:..........................." & request.form("Hotel") & vbCrLf
body = body & "PHONE:..........................." & request.form("Phone") & vbCrLf
body = body & "ADDITIONAL HOTEL INFO.:.........." & request.form("hotelinfo") & vbCrLf


Dim objSendMail
Set objSendMail = Server.CreateObject("CDONTS.NewMail")
objSendMail.To =""
objsendmail.From = request.form("from")
objSendMail.Subject = ""
objSendMail.Body = body
objSendMail.Send
Set objCDOMail = Nothing
 
Why not make it HTML email, then you can easilty format it to your heart's desire.

To do that, add these lines:

objSendMail.MailFormat = 0
objSendMail.BodyFormat = 0

Steve Davis
hey.you@hahaha.com.au

Me? I can't even spell ASP!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top