MAPI32.DLL” for sending mails not working?

2024-03-28T07:34:11.1766667+00:00

Hello,

We are using MAPI32.dll for sending mails. But we are unable to send mails.

we are getting "General MAPI failure [2]" issue. Outlook settings also we have checked still not working.

Kindly support us on this.

Thanks,

Akhila Alla

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,249 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,726 Reputation points
    2024-03-28T10:51:22.5633333+00:00

    I had uploaded a test sample with various methods to send mail in C#/WinUI 3 : WinUI3_SendMail

    For MAPI32.DLL, I used the MS method in the LoadDefaultMailProvider function

    0 comments No comments