Hi @Wambo ,
You can use Microsoft.Office.Interop.Outlook Namespace.
Check the following code.
using Outlook = Microsoft.Office.Interop.Outlook;
Outlook.Application outlookApp = new Outlook.Application();
Outlook.MailItem mailItem = (Outlook.MailItem)outlookApp.CreateItem(Outlook.OlItemType.olMailItem);
mailItem.To = "recipient@example.com";
mailItem.Subject = "Test Email";
mailItem.Body = "This is a test email.";
mailItem.Attachments.Add(@"C:\Path\To\File1.txt");
mailItem.Send();
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.