Unable to get the text message from the mail

Hi @yaniketz,

You can iterate through mail header collection by,
Assign String_Array, header_collection= mail.Headers.AllKeys
Inside a for each loop, iterate through each keys(object) in header_collection and you can get the key values by mail.Headers(keys.ToString) .

Warm regards,
Nimin

1 Like