Hi everyone,
I'm having an issue with Read MSG plug-in that the generated output .html document is coming out blank. The .msg file itself does have content in it though. I config the Read MSG node as guided in the plug-in documentation. The generated document (output html file) was stored in a process variable. When I download that html file from Appian folder and open it, it is a blank file.
This is the original msg file:
And below is the generated html:
I'm looking for a solution to solve this issue or a workaround way for me to convert .msg to html. Does anyone have any idea?
Thank you
Discussion posts and replies are publicly visible
Did you open that HTML file in a text editor (not MS Word)? It is possible to create a valid HTML file which still only shows a blank page when opened in browser.
Hi Stefan Helzle , this is the result of opening that file with notepad++. I think the output file itself is blank...
That is a valid HTML file which just shows as blank when opening it in a browser.
What do you mean with
Linh said:I think the output file itself is blank...
When diving deeper into Email, you will find out that an email can be made up of multiple parts. And it can contain HTML parts, and raw-text parts. Depending on the app that created the email, the app that received the email, and the app that displays the email, many things can happen. And an "empty" HTML is only one of these weird things.
I suggest to test this a bit more.
Hi Stefan, I tested on more files and see that the issue did not apply to all files. So that could be because of the file itself not the plug-in.
Welcome to the email-hell ! When I need to implement something like this, I first try to define a safe path in which I know things work. Then I develop a few checks to validate that such an email is on-track, and only process "good" emails. Everything else goes to a manual check.
Depending on the actual numbers of good vs. bad email, I might try to optimize this.
Good practice for me to follow in the future, thanks Stefan! Just curious is there any other way to extract .msg content even for files that Read Msg cannot help with?