There is a THtmlSmtpCli. In this one you set both the plain-text-part and the html-part in separate properties.
Set Contenttype to smtpHtml and set the text for PlainText and HtmlText. This will set up the boundrys for you when sending the mail. Regards Bjørnar > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rod Kinnison > Sent: 8. februar 2006 01:26 > To: twsocket@elists.org > Subject: [twsocket] SMTPcli and multipart/mixed > > Hello, i'm sure this question has been answered before but I > searched the faq and old elists archives to no avail. > > I'm trying to create multipart/mixed (http and plain text) > e-mails with smtpcli. My questions are: > 1. what should smtpcli.ContentType be set to? > 2. do I create the boundary manually and add it to the headers? > 3. do I place the boundaries in the e-mail body manually? > > Thanks for your help. > -- > To unsubscribe or change your settings for TWSocket mailing > list please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be