CodePlexProject Hosting for Open Source Software
send a mail with Outlook
taken from Example03.cs
private void button1_Click(object sender, EventArgs e)
// start outlook
Outlook.Application outlookApplication = new Outlook.Application();
// create a new MailItem.
Outlook.MailItem mailItem = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
// prepare item and send
mailItem.Subject = "hello eric";
mailItem.Body = "Season Greetings from NetOffice. Kind Regards - Sebastian";
// close outlook and dispose
Last edited Jun 13, 2012 at 10:33 AM by SebastianDotNet, version 4
This product is simply amazing. Sebastian has picked up where Microsoft left off many years ago by creating a product that facilitat... (more)
This project is simply awesome!!!
I was able to convert an Outlook Add-in from VSTO to NetOffice within 1 day using Visual Studio 20... (more)
Sign in to join this project.