How to extract senders email address | Outlook

outlook
studio

#1

Hi,
I need to extract senders email address in Outlook. Is there a way to extract senders email or id and store it into a variable?


#2

hi @lasithdilshan20 ,

follow these steps for extracting senders email address:

  1. Get outlook mail messages

  2. Foreach item in mailMessages

         senderMail = item.To.Tostring