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.
|