Strange slowdown on recipients

Add-in Express™ Support Service
That's what is more important than anything else

Strange slowdown on recipients
Slowdown in Outlook 365 while typing recipients 
Pino Carafa

Posts: 84
Joined: 2016-09-28
To recap Dmitry's answer

Before even touching Recipient.AddressEntry, check if the SMTP address is available in the recipient table - use Recipient.PropertyAccessor.GetProperty to read the PR_SMTP_ADDRESS property (DASL name ""). If it is not present, read the PR_ADDRTYPE property ("") - this is equivalent to Type property on the AddressEntry object, which Recipient object unfortunately does not expose. If it is "SMTP", just use the Recipient.Address property. And only if it is not, use your function above that needs Recipient.AddressEntry.

Take a look at the appointment with OutlookSpy (clic kIMessage button, go to the GetRecipeintTable tab) to check if the PR_SMTP_ADDRESS property is available

-- I tried this in my own add-in and it works perfectly, AND fast.
Posted 19 Oct, 2018 10:41:22 Top
Andrei Smolin

Add-in Express team

Posts: 17315
Joined: 2006-05-11

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 22 Oct, 2018 04:34:36 Top