Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks
ExcelFormatOptions xlOpts = new ExcelFormatOptions(); MicrosoftMailDestinationOptions mailOpts = ExportOptions.CreateMicrosoftMailDestinationOptions(); ExportOptions exportOpts = new ExportOptions(); mailOpts.MailCCList = ""; mailOpts.MailMessage = "This is a test"; mailOpts.MailSubject = "This is a test"; mailOpts.MailToList = "firstname.lastname@example.org"; mailOpts.Password = "12345"; mailOpts.UserName = "mweaver"; exportOpts.ExportFormatOptions = xlOpts; exportOpts.ExportDestinationOptions = mailOpts; exportOpts.ExportDestinationType = ExportDestinationType.MicrosoftMail; exportOpts.ExportFormatType = ExportFormatType.Excel; reportDocument1.Export(exportOpts);
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.