Can an ASP Guru please help me? Specifically, I would like to know how I
can send HTML email using CDO, and not CDONTS? I found plenty of
information on sending HTML mail using CDONTS, but none so far using CDO
with Exchange Server.
My script sends email in text format, but not in HTML. Here is part of my
code that sends the text email (it reads the addresses from a database and
greets each individual by their firt name):
strToList = Request.Form("sendEmail")(i)
strSubject = Request.Form("Subject")
strBody = Request.Form("Body")
strImportance = Request.Form("Importance")
Set objNewMessage = objCurSession.Outbox.Messages.Add
objNewMessage.Subject = strSubject
objNewMessage.Text = "Dear " & objRS.Fields("first_name") & ", " &
vbNewLine & vbNewLine & strBody
objNewMessage.Update
How can I send this as HTML mail? Are there any special objects, methods
I should be using?
Thanks,
BM