CDONTS is deprecated. CDOSYS is the replacement. You can use the AddBodyPart method to add a new BodyPart. As an additional benefit, it'll automatically (in the case of a multipart MIME message) add the necessary subparts etc, and convert the content-type:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html /_cdosys_ibodypart_interface.asp Cheers Ken ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From: "Eric Levine" <[EMAIL PROTECTED]> Subject: CDONTS: Sending combined HTML and Text E-mail message : FOLLOW-UP TO MY PREVIOUS MESSAGE: : : Does anyone know if it is possible to send an e-mail that will display : HTML on HTML-enabled e-mail applications, and text if HTML is not : supported. : : I see that the content type should be multipart/alternative but do not : know if it is possible to create two separate body tags, one for text : and the other for HTML in the same message. : : Many thanks. : : Eric ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
