diff --git a/Dialog/Helper.cs b/Dialog/Helper.cs index 6cda3a7..5a4d8d3 100644 --- a/Dialog/Helper.cs +++ b/Dialog/Helper.cs @@ -72,8 +72,8 @@ private void FromExchange(Outlook.Recipient recp) if (string.IsNullOrEmpty(PossibleAddress)) { QueueLogger.Log(" PrimarySmtpAddress is blank: trying to get it via PropertyAccessor"); - const string PR_SMTP_ADDRESS = "http://schemas.microsoft.com/mapi/proptag/0x39FE001E"; - PossibleAddress = user.PropertyAccessor.GetProperty(PR_SMTP_ADDRESS).ToString(); + const string PR_SMTP_ADDRESS = "https://schemas.microsoft.com/mapi/proptag/0x39FE001E"; + PossibleAddress = recp.PropertyAccessor.GetProperty(PR_SMTP_ADDRESS).ToString(); if (string.IsNullOrEmpty(PossibleAddress)) { QueueLogger.Log(" Couldn't get address");