How can i read Attached email in Outlook email

I have some attachment email with same name in outlook one email. I have to read attached email body data.

Can some help me in this scenario

@pankajs3

Use Save Attachments activity to save email attachments and then read the data from it.

@lakshman
I have same name attachments so at last there is only one attachment is downloaded. but i need to read all attachments.

@pankajs3

Is all attachments with same name and same type of files ?

@lakshman
Yes.

@pankajs3

I guess its overwriting the files as all file names are same.

@lakshman
Yes
But i want all files.

1 Like

@lakshman
You have not any solution for my retirement.

@pankajs3

In Save Attachments activity, specify below way under filter property and then try once.

If it is pdf files then specify - “.pdf"
If it is Excel - "
.xlsx”

@lakshman
I want to download only those file which file name are same.
But Save Attachment download all file simultaneously.

@pankajs3

You need fo find duplicate files from that attachment list. If it is there then download it.

@lakshman
I have one another question is that
D://” location i have 5 “.msg” file
how can i read each “.msg” file body, Subject, From and To text.

I would like to load a file with .msg extension, and after that I want to convert the msg file to a MailMessage object to get the MailMessage’s attachments, subject, body, etc…
How should I do it?