I would like to know how could I read the email address from a "read receipt" as the following code isn't working
I have a potential work around but don't know how to code it! The work around would be like this
Note that MItem is declared as Object, since declaring it as Outlook.MailItem is creating other issues that I also don't know how to deal with them Also, if MItem is an email the MItem.SenderEmailAddress is working very well.
if MItem is not an email then
reply to the "read receipt"
take the email address from the "to:" field
sender = email address from the to:
close the current replied to