Save attachment from one email

Hi,

I need your help

In SAP system, I have attachment (email)
In the email there is a pdf attachment

What is the best way to save the pdf attachment from the email.

Use save attachment activity in Uipath to save attachment from email

Regard
Nived N :robot:

Thanks for your reply
The email is not in my inbox it’s received by someone else and just saved in the system.

Can I save the attachment once I have it active on the screen

Oh u mean it is saved as .msg file , is it right?

I have the email file (.msg)
An in that file I have pdf file as attachment

How to get the pdf ?

Hi @BHA

U can refer this thread for this

Or

C# code is also fine for your case
https://www.codeproject.com/Articles/32899/Reading-an-Outlook-MSG-File-in-C

Regards,

Nived N :robot:

Happy Automation

1 Like