how can I write an ASP program to send email with the MS SMTP service?
There are some sample like this :
Set oMsg = server.createobject("CDONTS.NewMail")
oMsg.To = mailto:email@example.com
oMsg.From = mailto:firstname.lastname@example.org
oMsg.Subject = "this is the subject line"
oMsg.Body = "sail away..."
Can you tell me more about this object?
Such as how to attach file to email, how to control the encoding of attachment?
set oMsg = nothing