I have an issue with the save mail message activity. Here are my workflows.
I have tried using get outlook messages and get IMAP messages to retrieve an email. Within the email that I sent to myself are files that have long titles. I pass the email to a save mail message activity to save the mail onto my desktop.
The mail messages were both save in .eml format and the file types are inclusive of jpg, docx, pdf and pptx among other file types.
The mail is saved successfully but the attachments have issues. When I retrieved the mail using IMAP, the files are renamed to “untitled attachment…” only. When I retrieved the mail using outlook, the PDFs were renamed to “untitled attachment…” but they also got converted to .dat files.
I’m looking to save the mail message where the attachments will have the right name and format.
I have made small changes in the workflow. Hopefully it should now.
Since you are using a for each , you assigning the list of mail message to item which will take mail one after the other so you should placing item in the mail message field of save mail message…
Below is the changed workflow.Main
(1).xaml (8.8 KB)
Unfortunately, the problem remains unsolved. The files with long titles which are downloaded using “save mail message” activity are still being saved as untitled documents with some numbers behind them.
I’ve tried the workflow by starting with “get outlook messages” and “get IMAP messages” activities. They both failed to save any of the attachments.