MS Outlook 2010 .SenderEmailAddress returns a huge string of characters

后端 未结 2 428
你的背包
你的背包 2020-12-21 23:47

I\'ve searched and searched for an answer so I\'ll post this here. I\'m trying to create a macro that will move 2 week old messages from my inbox to a specific folder I cre

相关标签:
2条回答
  • 2020-12-22 00:26

    This MSDN documentation will help.

    0 讨论(0)
  • This is a perfectly valid EX type address (as opposed to SMTP).

    Try to use MailItem.Sender.GetExchangeUser().PrimarySmtpAddress.

    You will need to check for nulls/errors of course in case the sender is not an Exchange user or if the address cannot be retrieved.

    0 讨论(0)
提交回复
热议问题