Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Extended MAPI sample program

0 views
Skip to first unread message

vegetaboy

unread,
Jun 15, 2009, 6:34:01 AM6/15/09
to
Can someone please point me to a sample program of just sending a message to
some other email address such that Outlook or any default mail client just
pops up with the reqd details filled..

Preferably sending HTML content..

There's no single tutorial on Extended mapi in C++..

Please do the needful..

Ami

unread,
Jun 18, 2009, 7:00:15 AM6/18/09
to
On 15 June, 15:34, vegetaboy <vegeta...@discussions.microsoft.com>
wrote:

For Extended MAPI you can use MFCMapi Sample provided by MS:
http://support.microsoft.com/kb/291794

vegetaboy

unread,
Jun 22, 2009, 2:58:01 AM6/22/09
to

is there a way to send HTML through outlook's body.. bcos PR_BODY_HTML
#defined with 1013 also doesnt seem to work..

Help needed..

Dmitry Streblechenko

unread,
Jun 22, 2009, 1:45:26 PM6/22/09
to

Normally you would need to wrap the HTML into RTF and set the
PR_RTF_COMPRESSED body.
If however STORE_HTML_OK bit is set in the PR_STORE_SUPPORT_MASK property,
the store provider will do tha tfor ytou when you set the PR_HTML property.
Does the mesage look Ok in teh Sent Items folder when you set the PR_HTML
property?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"vegetaboy" <vege...@discussions.microsoft.com> wrote in message
news:ED9A9425-F852-4217...@microsoft.com...

vegetaboy

unread,
Jun 23, 2009, 4:30:01 AM6/23/09
to

It worked with PR_BODY_HTML_A PT_STRING8 0x1013 #define statement..
But now is there any way to send images embedded in the html so that it can
show embedded images in the message..
The final thing is i need to send a html file in the body of the outlook
message..
0 new messages