I have read the various posts on the forum, my goal is to read a .msg file attached to an e-mail.
Within this .msg file I must then read the subject and body contained within.
These are messages sent automatically in case of absent recipients.
Now, I can download the .msg attached to the mail, but via the various vbs scripts I cannot read the content, can you help me?
Please check this for detailed step by step guide
Use start process activity. Give the .msg file path in the “File Name” field in the start process properties. Instead pass only the complete file path in the filename properties as String or as a string variable and run it.
Your message will open in foreground post which you will be able to scrap the required text
I had already tried this guide, but the output is blank
The following thread has the solution for the use case that you are dealing with:
how can I read a saved msg file and get a specifc text (e.g. the CAD Exchange rate) from the email Body?
I tried it with start process with the following properties:
It doesn’t work and I get a message that the command line argument is invalid.
Does someone have a solution?
Hope this helps,
I have used the following and it works:
I have used the custom activity “Adrosonic.EmailFileReader.Activities” for reading .msg body and custom activity “Adrosonic.MailAttachments.Activities” for saving attachments inside .msg file
Please go through below YouTube video for the solution.
If the solution works, Please subscribe , like and share