View Single Post
 
Old October 7th, 2003, 02:42 AM
madhukp madhukp is offline
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default Sending both text mail and HTML mail - CDONTS

Hello everybody,

I will explain the situation I am in. I need to send a mail to an address using CDONTS. The exact requirement is that it should send both a text version and an HTML version. If client is checking in a mail client that is capable of showing only text mails, it should show the text version. Otherwise it should show HTML version.

I have seen a free component by name Dundas mailer which has provisions for this. This object of this component has 2 properties. 1) body 2) htmlbody. If mail client is capable of showing HTML mails, then it will show htmlbody. Otherwise it will show body. Unfortunately, this component is pretty slow and cannot be used in a production server.

May I know how can I achieve this with the help of CDONTS alone ?