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

ASP/VBscript Send Email Formatting 2

Status
Not open for further replies.

Joules

MIS
Apr 25, 2001
28
0
0
US
I am working on a page that takes information from a form, puts it into a message, and sends it to a manager using ASP & VBscript. (I am pretty new at this.) My problem is that there is a link in the message that is broken because it is too long for the length of the line in the message. Is there a way to change the limit of the line length in the message? I cannot just send the message as HTML (thought of that) because it may go to UNIX mail that cannot handle that. Any suggestions?

Here's how the code looks that I am using:

Messagestring = Messagestring & "blah blah blah"
Messagestring = Messagestring & " More blah blah blah"

set CreateMail = Server.CreateObject ("CDONTS.NewMail")
CreateMail.From = Request.form("FromEmail")
CreateMail.To = Request.Form("ToEmail")

CreateMail.Subject = "The Subject"
CreateMail.Body = MessageString
CreateMail.Send
Set CreateMail = Nothing
 
Thanks soo much.. this also helped me immensely.
_______________________
ScrewLewse
Webmonkey and all'round goof.
davidg@v7s.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top