Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: MAPI + Body HTML + Attachments

www.cryer.info
Managed Newsgroup Archive

Re: MAPI + Body HTML + Attachments

Subject:Re: MAPI + Body HTML + Attachments
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 12 Jun 2006 12:52:20

"Beto Neto" <betoneto.tbo@gmail.com> wrote in message
news:448da617$1@newsgroups.borland.com...

> How can I create a email using MAPI with the body as HTML

You can't.  Mapi does not support HTML.  You would have to use SMTP directly
for that.

> and with any attachments ?

The MapiMessage structure has nFileCount and lpFiles members for controlling
that.  Essentially, you have to provide the message with an array of
MapiFileDesc structures describing each file.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive