artsapimp
07-05-2000, 10:03 AM
I am making a page which when the form is submitted it send the information of the form to an email address through CDONTS. The problem I'm having is the body of the email is setup like this:
Name: Art Sapimp Phone#: 407-555-5640 Email: artsapimp@yahoo.com...
instead of like this:
Name: Art Sapimp
Phone#: 407-555-5640
Email: artsapimp@yahoo.com
The code is written in asp format but it's an email so I can't put a [i]& "< br >" &... because it's not html. Here is the code so far.
<font color=0000ff>
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = strName
objNewMail.To = "artsapimp@yahoo.com"
objNewMail.Body = "Name: " & strName & "Phone#: " & strPhone & "Email: " & strEmail
objNewMail.Send
</font>
Thanks for any help.
------------------
If you think an education is expensive...try ignorance.
Name: Art Sapimp Phone#: 407-555-5640 Email: artsapimp@yahoo.com...
instead of like this:
Name: Art Sapimp
Phone#: 407-555-5640
Email: artsapimp@yahoo.com
The code is written in asp format but it's an email so I can't put a [i]& "< br >" &... because it's not html. Here is the code so far.
<font color=0000ff>
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = strName
objNewMail.To = "artsapimp@yahoo.com"
objNewMail.Body = "Name: " & strName & "Phone#: " & strPhone & "Email: " & strEmail
objNewMail.Send
</font>
Thanks for any help.
------------------
If you think an education is expensive...try ignorance.