I am stuck in mail activity i need to read the body of the mail and extract the name of stocks from it

Hi @manoj2500,

Please try mail.Headers("PlainText") instead of mail.body inside the loop and check whether you are getting the mail body or not.:slightly_smiling_face:

Warm regards,
Nimin

3 Likes

that worked thanks and now i want to extract that data word by word in separate var how to do that
@nimin

1 Like

Hi @manoj2500,

Could you please share a sample input?

1 Like

the sample input that i am getting in output pannel using write line i am adding the pic for the same


EBANK ,
KHAITANLTD ,
IRFC ,
SANGHVIFOR ,

i need to extract above keywords and then search and scrape the data one by one

1 Like

Hi @manoj2500,

You can use split method for getting each string individually.
Assign string_array, str= your_text.Split(","c)
Use str(0).trim , str(1) ,str(2) etc. for getting each strings.

Warm regards,
Nimin

1 Like

hey i havent used split and i am new to it will you will be able to help me with the workflow please

Hi @manoj2500,

Please check the workflow.Split_HTMLmail.xaml (10.3 KB)
:slightly_smiling_face:

Warm regards,
Nimin

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.