View Single Post
  #10 (permalink)  
Old 12-07-2005, 05:19 PM
fuzzygay fuzzygay is offline
WebProWorld New Member
 

Join Date: Nov 2004
Location: CA
Posts: 23
fuzzygay RepRank 0
Default

All the proposed solutions are for client-side, if you are planning to send e-mails from a server, then you have to set up the email headers to set the HTML property. Step-by-step instructions are:

1) Create your HTML page (HTMLText)
2) Set your email headers as follows:
objMail.From = "me@spammingyou.com"
objMail.Subject = "Happy Holidays!"

objMail.BodyFormat = 0
objMail.MailFormat = 0

objMail.To = "victim@hotmail.com"
objMail.Body = HTMLText

You need to add the lines BodyFormat and MailFormat for the mail to be sent in HTML format.

3) Send the e-mail: objMail.send

If you are using SMTP (CDONTS), this is straightforward, I gave you the complete example. The <objMail> is the component that handles the email messaging service. Hope this is what you are looking for.
Reply With Quote