I am trying to use the following script to send email through IIS. I don't know how I would format the BODY of the email to be like this:
Name: Art Sapimp
Phone Number: 407-555-5640
OS: Windows 98
instead of like this:
Name: Art Sapimp Phone Number: 407-555-5640 OS: Windows 98
Thanks
<code>
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
objNewMail.From = strName
objNewMail.To = "[email protected]"
objNewMail.Cc = "CCThisEmail"
objNewMail.Body = "Name: " & strName & "Phone Number: " & strPhone" ....
objNewMail.Send
</code>
Thanks


Reply With Quote