How to retrive "Subject" from .eml file

Hi all,

I have downloaded .eml files successfully in my local machine. And now i can load that files into MailMessage variable. I am using this activity.
https://go.uipath.com/component/read-email-from-saved-file-to-object#

But I can’t get the mail subject. The value MailMessage.Subject is nothing.
I don’t know why. Please help me.

Thanks
A Ky

Hi @AKY

Have you tried using system.net.mail.message variable and check it

Hi @AshwinS2
Is this right?

Yes it is

hi @AshwinS2,
I aready set it before.
But i still got the value MailMessage.Subject is nothing.
Do you have any idea?

hello @AKY

Were you able to solve this problem, because it happens to me too? if you can ask yourself how did you do it?

thanks

Hi @momi_fede/@AKY
Is Get Outlook Mail Messages are there?
Use this for each item in MailMessage
Item.Subject.ToString.Contains(“your text string”)

Thanks
Ashwin S

Hi @AshwinS2, but it doesn’t work. I do not use mail Outlook system, our system mail is Lotus note. Is there any difference of them

Hi @AKY

Try this

Email Automation Lotus Notes Client

Thanks
Ashwin.S