Cannot open .eml files using Start Process Activity

Scenario: Open .eml files using outlook with Start Process activity

Steps to reproduce:


Current Behavior:

Expected Behavior: Open attachment. Double clicking on the file, opens perfectly in outlook without any issue.

Studio/Robot/Orchestrator Version: Latest version

Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):

Hi @Joshikumarav

Not sure if the message file type is exclusive but from what I know the /f switch is for .msg and .oss files. Here are the Outlook command line switches for 2010 but probably whatever version you’re using.

That said, if .eml is associated with Outlook, you can just put the .eml filename as the process FileName in the Start Process activity and leave the Arguments field blank. That’s how I usually use it if I’m forwarding an email I’ve just saved or whatever.


1 Like

Thanks for the suggestion man. But opening .eml file in Start process activity is achievable in UiPath. I am just trying to do the same.

@palindrome Any thoughts on this? Saw your other posts on same approach.

Hey @Joshikumarav

Did you see the second part of my answer? You don’t have to open Outlook separately.

1 Like

Perfect! How did i miss that! Btw, any idea how do i bring the opened file to the foreground? Currently its in the background.


You can try to add an Activate activity after you open the email.

You may need to put in a Pause before the Activate to give the email time to open.

@Joshikumarav : I agree with @tmays 's solution… this should work.