Hi Guys,
I am using the following code to send an email and then closing the application. It works
Code:
XDocument.UI.ShowMailItem("[email protected]", "", "", "subject", "Body");
XDocument.UI.Alert("The e-mail message has been sent.");
Application.ActiveWindow.Close(true);
Problems:
It opens up MS Outlook and prompts them to send the email. Is there anyway I can skip it from opening MS Outlook.
Any advise is appreciated.
Thanks
Dave