CDONTS and sending HTML and text versions simultaneously

S

Steve

I've been told that an e-mail can be constructed using headers so that both
a text and HTML version can be sent out simultaneously and the e-mail client
will display the type that it can handle
(http://www.wilsonweb.com/wmt5/html-email-multi.htm).

How is this done using CDONTS and ASP to send an e-mail? Is there a specific
field that the content type gets put into? I tried putting:

Content-Type: multipart/alternative;
boundary="----=_NextPart_000_002C_01BFABBF.4A7D6BA0"

As the first line of the body of the e-mail as a test, but it just ended up
displaying as the first line of the body of the e-mail when it was received.

Thanks in advance!

Steve
 
A

Aaron Bertrand - MVP

Do I need to download CDO Message, or is it pretty much standard?

Steve, you could check by running the code sample, and it would take about
three seconds to figure out if you have it already.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top