Question

Transformarl formato eml a txt/csv

  • 15 September 2023
  • 1 reply
  • 25 views

Badge

Convert eml format to txt/csv

Excuse me, I have an email file in .eml format, I would like to open the format in some way either as txt or csv but with automation anywhere.

What AA tools should I use, please kindly support the community.

 

thank you

 


1 reply

Userlevel 2
Badge +8

Hi @richard.ramirez21,

At first glance this is a pretty tricky situation. EML, MSG, and other email formats do not contain human readable text when opened in a text editor. To understand this, try right clicking on your .EML file and selecting “Open With” to open the file in Notepad or Notepad++.

However, there is a roundabout way you can achieve what you want in your Task. Here is the automation flow: open the .EML file, use keystrokes to copy all, use the ClipBoard action to assign the copied value to a variable. Finally log the variable to a csv or txt file. I recommend txt as it will be easier to read and you can perform string manipulations on the content.

Here is my code:

 

Please let me know if this helps you.

Thanks,

Logan P.

Reply