Is OLE Automation for composing emails supported in the New Microsoft Outlook App?

Vivek Kumar 1 Reputation point
2024-07-12T16:51:32.3133333+00:00

Is it possible to compose an email using OLE automation in the New Microsoft Outlook app? Earlier we were using MSOUTL.dll to compose an email (with attachments) but with the New Microsoft Outlook App the following initialization call fails.

hr = m_OutlookAppPtr.CreateInstance( __uuidof(Outlook::Application) );

It seems the new app doesn't support the functionality but I couldn't find any official documentation regarding it. Pressing Ctrl + Alt + F11 also does nothing in the new app.

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,852 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.