Send eml file

i have created a .eml file with some default “to” and “from” using uipath and stored in a folder . Now I want to send the same eml file as a normal smtp email to someone else . How to do this?
I do not want the eml as attachment ,it should be the eml itself that needs to be sent

1 Like

Hey @saurabhB

You can please use the MimeLibrary

Ref - Easily Retrieve Email Information from .EML Files -- Revised - CodeProject

Hope that helps

Thanks
#nK

so , i need to extract the email body , subject and attachments from the eml file using this library and then again create the mail using normal send mail(smtp) activity to finally send it, is this correct?
is there any other easy way?
my complete required process is like:
1)generate a draft mail in some windows folder (not in outlook folders)
2) someone is going to check manually if the mails is correct or not
3) if correct then user /bot should be able to send the mail to the correct recipients

I have created a eml file using save mail activity and stored a eml file in folder , but the user or bot is not able to send this to anyone in real , it just opens in outlook as a file
any suggestions on how to do this

1 Like

Hey @saurabhB

Yes, as per the link shared.

Thanks
#nK