Look up SMTP Address by property
Use the PropertyAccessor interface to look up the "hidden" SMTP Address property. * src/oomhelp.cpp (get_pa_string): New. Get a string using the property accessor of an object. (get_oom_recipients): Prefer the PR_SMTP_ADDRESS property over the direct Address. * src/oomhelp.h (PR_SMTP_ADDRESS): New define. * NEWS: Mention this.
- The direct usage of the Address property of a Recipient resulted in failures in case the Address Type was not SMTP.
This commit has only been tested with SMTP Addresses.
The PR_SMTP_ADDRESS value is documented on: http://msdn.microsoft.com/en-us/library/office/ ff868695%28v=office.15%29.aspx