Getting Senders Email In Outlook - Newer Delphi Versions.

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

Getting Senders Email In Outlook - Newer Delphi Versions.
How to acquire the senders email address in Outlook using modern version of Delphi 
Mark Wynne




Posts: 2
Joined: 2020-04-18
Hi Guys,

I managed to find these examples :

http://www.add-in-express.com/forum/read.php?FID=1&TID=1580
https://www.add-in-express.com/forum/read.php?FID=1&TID=2679

I am struggling to get them to compile in Delphi 10.3. I think its since the string types changed that may be affecting it, I will see if I can work my way through and update them but I wondered as these examples are quite old:

Are there any newer examples for VCL addin of attaining the senders email from within Outlook?
Posted 23 Jun, 2020 10:05:23 Top
Andrei Smolin


Add-in Express team


Posts: 17228
Joined: 2006-05-11
Hello Mark,

These examples demonstrate using Extended API in Outlook 2000-2007. In Outlook 2010+, you use the Outlook object model as shown in HowTo: Convert Exchange-based email address into SMTP email address. Also check https://www.add-in-express.com/forum/read.php?PAGEN_1=2&FID=1&TID=15618. Note that you can only use the Extended MAPI way with 32bit Outlook versions. The object model doesn't depend on bitness.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 24 Jun, 2020 02:24:21 Top