Is it possible to read the details of the forwarded mail in vb.net or uipath
For example : If “recipient1” is forwarding a mail “mail-abc” to “recipient2”.
I need to get the details like received date, subject, sender etc. of the inital mail “mail-abc”.
Could you please check if it is possible.
Logically possible. Technically there are no special features provided to handle this. You have to read the content of mail & find out whether it is a forward mail & extract the required details.
you can get the overall body of the mail and can do string manipulation to get first sender name.
May be you can use the filter emails where subject starts with FW:
Because forwarded emails starts with FW:
is there any way other than string manipulation
I am confused on how to read the forwared mail from the recieved mail.
I have asked about reading the forwarded mail; not the mail which I received.
You have to look for key words like Fw: or Fwd: , if it is present that means it is a forwarded mail. The look for string “---------Forwarded message----------------” & read the content below that.
There is no other way , you have to build your own logic.