Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Office
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 23:00pm

1 solution

Rate this: bad
good
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: http://www.naughter.com/smtp.html[^].
 
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.
  Permalink  
Comments
hainengluo at 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 at 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
0 OriginalGriff 525
1 Maciej Los 319
2 BillWoodruff 174
3 Suraj Sahoo | Coding Passion 170
4 /\jmot 152
0 OriginalGriff 8,654
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,229
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 30 Aug 2012
Copyright © CodeProject, 1999-2014
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