it seems that way indeed
but refering to the standard Internet Message Format the mail message is
devided by 4 parts with the 4th part being the Attachments. Those can be
variable in number and MIME type.

yet the first (header), second (alternative) and third (mixed, which holds
the html and the variable (in number and MIME type) 4th part) are always the
same.

so creating a component which has a default property for plain, for html and
a default method for Attachments (which can extract the MIME type
automaticly) would cost less code and be equally effective (for sending
multipart mail messages, that is)

regards

remie bolte


----- Original Message -----
From: "Ken Schaefer" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 10:15 AM
Subject: Re: CDONTS: Sending combined HTML and Text E-mail message


> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> From: "Remie Bolte" <[EMAIL PROTECTED]>
> Subject: Re: CDONTS: Sending combined HTML and Text E-mail message
>
>
> : in coding
> : it's a bit overhead
> : you must first manually define the 2 contenttypes
(multipart/alternative)
> : then on base of one of the two contenttypes you must start a 3th part
> which
> : contains the text/html
> : yet the attachments must then again be part of the 2nd part.
> :
> : why didn't they just make 2 properties and a method:
> :
> : 1) HtmlBody
> : 2) PlainBody
> : 3) AddAttachment()
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I suspect because MIME is meant to be extensible...so you can add many
> parts, not just a text part, and a HTML part.
>
> Cheers
> Ken
>
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%



---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to