trying to use MAPISendMail from MAPI32.DLL to open default mail client
for html formatted body with no success. It works perfectly for no
html formated body but for html formated it simply encodes all html
tags :(
Any help would be appreciated!
> trying to use MAPISendMail from MAPI32.DLL to open default mail client
> for html formatted body with no success. It works perfectly for no
> html formated body but for html formated it simply encodes all html
> tags :(
As KB268440 says, you should use others methods,
like CDO, with IMessage::put_HTMLBody()
just wondering how Picassa guys did it - it works perfectly. Did they
use mapi or maybe outlook objects?
Unfortunately using CDO I cant popup mail client widnow...
If you're talking about Picasa 3 and [File][E-Mail...], it just uses
Simple MAPI and MAPISendMail() in plain text...
It copies the HTML to Clipboard (CFSTR_HTML format), then calls
MAPISendMail() and paste it.
MAPISendMail() with MAPI_DIALOG displays the "New mail " dialog and allows
to modify all fields.
MAPISendMail() with MAPI_LOGON_UI | MAPI_DIALOG flags and an empty body
displays the HTML attachment in the body..
it works! Thank you very much!