how can one turn off Content-Type: text/html ? (wodWebServer / wodWebServer.NET)
I've been testing wodSmtp.ocx 1.3.1.51 for a few days now.
I'm using VBA6 in MS Access 2003.
What I would like to do is Connect, send about 100 messages,
and then Disconnect.
Some of the message are just plain text,
and some have both plain text and HTML. The 2 types are random.
When required, I would like to create Message.HTMLText myself.
The problem occurs when a message with both plain and html,
is followed by one with just plain.
For the 2nd one, if I assign Message.HTMLText = ,
then the 2nd message just has an empty text/html part.
This is not good.
I figure that maybe I could find out the initial value of HTMLText,
and assign that to the 2nd message,
but if I try to inspect Message.HTMLText, I get this error:
-2147467259 Method 'HTMLText' of object 'ISmtpMsg' failed
I know that if I delete the WODSMTPLib.wodSmtp object,
and make a new one, then the text/html part is turn off,
but I do not want to delete.
Can you help ?
Thanks,
Glenn
Complete thread:
- how can one turn off Content-Type: text/html ? - Glenn, 2007-12-08, 03:13
- Re: how can one turn off Content-Type: text/ht - wodDamir, 2007-12-08, 15:51
- Re: how can one turn off Content-Type: text/ht - Glenn, 2007-12-08, 23:35
- Re: how can one turn off Content-Type: text/ht - wodDamir, 2007-12-09, 14:48
- Re: how can one turn off Content-Type: text/ht - Glenn, 2007-12-09, 20:24
- Re: how can one turn off Content-Type: text/ht - wodDamir, 2007-12-09, 21:46
- Re: how can one turn off Content-Type: text/ht - Glenn, 2007-12-11, 06:38
- Re: how can one turn off Content-Type: text/ht - wodDamir, 2007-12-09, 21:46
- Re: how can one turn off Content-Type: text/ht - Glenn, 2007-12-09, 20:24
- Re: how can one turn off Content-Type: text/ht - wodDamir, 2007-12-09, 14:48
- Re: how can one turn off Content-Type: text/ht - Glenn, 2007-12-08, 23:35
- Re: how can one turn off Content-Type: text/ht - wodDamir, 2007-12-08, 15:51