Fix recipient address lookup for Exchange addrs
* src/gpgoladdin.cpp (GpgolAddin::OnConnection): Store major version. * src/main.c: Define major version variable. * src/message.cpp (get_recipients): Use SMTP addr property for new versions. * src/mymapitags.h: Define SMTP_ADDRESS property ids. * src/olflange.cpp (GpgolExt:Install): Store major version. * src/oomhelp.h: Rename PR_SMTP_ADDRESS URI to PR_STMP_ADDRESS_DASL. * src/oomhelp.cpp (get_oom_recipients): Update accordingly. * src/ribbon-callbacks.cpp (do_composer_action, do_reader_action), (attachEncryptedFile): Update accordingly. * src/util.h: Declare major version variable.
We can't use the OOM Recipient objects here as this is not
accessible in the after write event. This still leaves the
sender lookup to be done. There appears to be no MAPI property
that contains the SMTP Address of the sender when sending mails
through exchange.