We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Outlook.Application outlookApp = new Outlook.Application(); Outlook.MailItem message = (Outlook.MailItem)outlookApp.CreateItem(Outlook.OlItemType.olMailItem); message.Subject = “subject “ message.Recipients.Add(“email@example.com”); message.Body = “”; int attachmentLocation = 1; message.Attachments.Add(“” + ConfigurationSettings.AppSettings["Atachments"] + “Course Schedules for “ + lblProviderName.Text + “.xls”, Outlook.OlAttachmentType.olByValue, attachmentLocation, “Course Schedules for “ + lblProviderName.Text + “.xls”); message.Display(true);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.