How to download E-Mails from Office 365 (Exchange Online)?
Issue Description:
When downloading Emails from Office 365 (Exchange Online), they are saved without an extension or are missing inline attachments, such as images.
Resolution:
Use Office 365 Get Mail from the Office 365 Activity Package and "Save Mail Message" activity from the UiPath.Mail.Activities package.
Below is the procedure to set it up:
- Enable the "Get As HTML" property from the "Get Mail" activity to get the correct format
- Save it as .eml
- In the "Save Mail Message" activity, specify the path + the filename.extension. Use the expression:
- "C:\Path" + mails(0).subject + ".eml"