Forum Discussion

SubhasisNBGhosh's avatar
SubhasisNBGhosh
Copper Contributor
Jun 13, 2024

Not able to send email from Outlook 365 (both old and new outlook) using Full MAPI in C++

We have an application which has option to send emails through Outlook with the option of using either Limited MAPI or Full MAPI. Till now it worked smoothly for all the cases.

But we started facing problem after introduction of Outlook 365. Sending emails using Limited MAPI works well, but emails are not getting sent (nor they appear in outbox) using Full MAPI. For some of the developers, emails sending from the classic outlook 365 using Full MAPI works but for few of them it does not work. And sending mails from the new outlook using Full MAPI does not work at all.

We are using C++ to develop the application.

I am hereby attaching the code to send email using Full MAPI. Any help is highly appreciated.

 

  • SubhasisNBGhosh's avatar
    SubhasisNBGhosh
    Copper Contributor
    You could try using Microsoft's MFCMapi available from MFCMAPI April 2024 (24.0.24100.06) to test signing on to Outlook and other performing other mail activities. If MFCMapi works then you can look at its source code to incorporate any needed changes into your own applications.

Resources