0

I am using this link to send mails using Mapi. But I would like to compose the message in HTML format.

Reading this and other websites I came across a "constant" called: MAPI_NATIVE_BODY_TYPE_HTML. That gave me the "hope" that things are possible. Unfortunately, I'm not able to make something of it. I'm not used to "convert" unmanged functionality outside the .NET Framework (mapi32.dll) to managed code.

Any ideas / links are welcome.

Youp Bernoulli
  • 5,303
  • 5
  • 39
  • 59
  • There is any specific reason of using MAPI for sending formatted html file? – Sushant Bhatnagar May 07 '12 at 14:36
  • Yes. We want to start the default mail client on the end-user's system. So that the end-user can add recipients from it's adrees book and so on. Then it's also stored in the send items folder etc. – Youp Bernoulli May 07 '12 at 14:58

1 Answers1

1

No, that constant is for use with Extended MAPI, but the first link deals with Simple MAPI (that is what you are using, right?).

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78