Creating a draft email in the old version of Outlook was easy using the COM interface. Now that it's gone with the new version of Outlook, I need a way to pop up a draft email, where I can specify the From, To, etc, as well as the HTML body of the email. It needs to be a draft, e.g., one that can be sent.
I've tried using EML files, and while I can get close, I can't reproduce exactly how it worked with the COM interface. Either the email displays view-only, or if you specify "X-Unsent: 1" in the header, it will be a draft, but you lose the HTML body.
I believe you might be able to accomplish this using the Microsoft Graph API. Has anyone done this in Delphi, or can you at least point me in the right direction?
Thanks!