Hello,
To send an email using cdonts use something like:
this is to send a HTML mail
strbody=""
set objmail = createobject("cdonts.newmail")
objmail.to = strEmail
objmail.from = "
[email protected]"
objmail.Subject = "You are the highest bidder!"
strBody = strBody & "<HTML><body>"
strBody = strBody & "<table width=650 border=0 cellpadding=2 cellspacing=2>"
strBody = strBody & "<tr><td>"
strBody = strBody & "this is an automatic mail. please do not reply to it."
strBody = strBody & " it will not be answered !<BR><BR>"
strBody = strBody & "bla bla bla bla bla.<BR><BR>"
strBody = strBody & "bla bla bla bla bla.<BR><BR><BR>"
strBody = strBody & "Best regards,<BR><BR>"
strBody = strBody & "Your Name"
strBody = strBody & "</td></tr></table>"
strBody = strBody & "</body></html>"
objmail.BodyFormat = 0
objmail.MailFormat = 0
objmail.body = strBody
objmail.send
You can use any known variables in your mail, IE:
strBody = strBody & "Your bid is: " & intBidAmount & "<BR><BR>"
Hope this helps.
HammR