Eric et al,
Here are the bare bones of ASP script that sends an email via CDONTS. I
don't know how to send mail using HTML only.
Dim objMailer
Dim HTMLEmailWanted
Set objMailer = Server.CreateObject("CDONTS.NewMail")
With objMailer
.From = "youraddress@y..."
.To = "theiraddress@t..."
.Subject = "the subject text for your message"
If HTMLEmailWanted Then ' send HTML format mail
.BodyFormat = 0 ' CdoBodyFormatHTML
.MailFormat = 0 ' CdoMailFormatMime
.Body = "the body of your message in HTML"
Else ' send text format mail
.BodyFormat = 1 ' CdoBodyFormatText
.MailFormat = 1 ' CdoMailFormatText
.Body = "the body of your message in text"
End If
.Send
End With
Set objMailer = Nothing
-----Original Message-----
From: Eric Kapuscinski [mailto:ejk158@h...]
Sent: Tuesday, January 15, 2002 5:12 PM
To: HTML Code Clinic
Subject: [html_code_clinic] Re: html mail
Thanks for the help, but i really have no idea how to use the CDONTS
email like you said. Can you explain it a little bit to me, or show me
a line of code that i can use in order to figure it out. that would be
very much appreciated.
thank you again,
eric kapuscinski