Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
How to copy MS Outlook mail data to MS excel using ASP .Net code ?
i want to copy my volume report which is in outlook mail to excel file, Please help me guys
2 Respostas
0
You can retrieve your emails using EWS service, filter the emails by its subject, read the content, attachment as well if required, and generate the excel file.
0
Exporting emails from Outlook to Excel is easy. Keep in mind, however, that you will only retain plain text and basic links. All other formatting is lost. If you eventually want to restore formatting, saving as HTML files is a good alternative.
Open Outlook and click the āFileā option, followed by the āOpen and Exportā option. Click āImport/Exportā and āExport to a Fileā before setting the file type to Excel. A CSV is similar, and will transfer easily to an excel workbook later if you wish.
Finally, choose the destination folder where the file should be saved. Select āFinishā to save the emails into the specified folder. Exit Outlook and navigate to the folder. Check to ensure the file is saved and attempt to open it. The Excel workbook or CSV file should open with all the email data.
Regards,
Peter