I am converting an old Silverlight application into Asp.Net Core, using Blazor and Razor Pages.
The old application is opening Outlook, and creating an email ready to send with a Subject, From etc, plus a series of attachments. It is creating an object to do this using the following code:
Dynamic outlook = AutomationFactory.GetObject("Outlook.Application").
The old COM based approach is not supported in ASP.Net core web-sites, however I haven’t been able to find any alternatives. Any suggestions as to how I can do this in an ASP.Net Core Blazor web-site would be greatly appreciated. Note that I cannot use a simple MailTo: (as I need to add attachments), and don’t actually want to send the email – I just want it created and loaded in Outlook, ready for the user to manually review\edit and send.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)