Jun 22, 2011 at 2:05 PM
Edited Jun 22, 2011 at 2:13 PM
Hi! I wanted to know if there is a way to 'send' email to Outlook instead of directly 'sending through' Outlook.
using Outlook = NetOffice.OutlookApi;
// Create an Outlook Application object.
Outlook.Application outlookApplication = new Outlook.Application();
// Create a new MailItem.
Outlook.MailItem mailItem = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
Also, I don't want to quit Outlook through my code. If I use 'outlookApplication.Dispose();', this should only allow GC to re-claim the object but the Outlook would still be running... right?
My requirements are that once I transpose the grids and stuff to HTML, I need to manually generate the HTML body for the email and add 'To' and 'CC' and then fire up Outlook and present the final email to the user. He/She send at his/her convenience. The
Email needs to be a Draft-like as the use may wants to add further information to it.
Is it possible using NetOffice Suite?