Hello, everyone,
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?
Thanks
Anil_G
(Anil Gorthi)
May 11, 2023, 10:30am
2
@andreus91
Please check this for detailed step by step guide
Cheers
2 Likes
mkankatala
(Mahesh Kankatala)
May 11, 2023, 10:30am
3
Hi @andreus91
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
Regards.
I had already tried this guide, but the output is blank
Hi @andreus91
The following thread has the solution for the use case that you are dealing with:
Hey everybody,
how can I read a saved msg file and get a specifc text (e.g. the CAD Exchange rate) from the email Body?
[Mail(msg)]
I tried it with start process with the following properties:
[Mail(msg)2]
It doesn’t work and I get a message that the command line argument is invalid.
Does someone have a solution?
THX
Hope this helps,
Best Regards.
Hi @andreus91 ,
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
Regards,
Sowmya K
Hello @andreus91 ,
Please go through below YouTube video for the solution.
If the solution works, Please subscribe , like and share