Click here to Skip to main content
13,048,584 members (91,048 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Do someone knew how to use Extended MAPI,please give me a simple(I prefer c++/com). I found when using simple MAPI via Outlook Express to send a email, it come out a dialog, I don't want it. thanks !
Posted 29-Aug-12 22:00pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This is due to the "new" security concerns of apps sending mails without user concern.

In order to send e-mails I've tried to use that extended API, but at the end this requires you to have a mail client installed and the extended api will be focused on that client so the day you'll change the client (i.e. from Outlook express to Outlook) it can happen that the program stops sending e-mails.

I've used this class from PJ Naughter:[^].

It works like charm, you don't need to have any client installed and it's easy to use. Only endure to read the code files header where all the dependencies are explained.

You'll get it working in less than nothing.

Good luck.
hainengluo 30-Aug-12 23:07pm
Thanks for you help! I find if change the security setting somehow the program will not popup the confirm dialog.
Joan Murt 31-Aug-12 1:38am
Yes, of course, there is also a small patch that solves this.
The only problem is that you are overriding security.
If that application you are making is "for your eyes only" then why not, but as a customer I would not buy it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 30 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100