![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
'Hello,
I’m writing script for Outlook 2003 that has to check recipients SMTP address. Most recipients are in the Exchange’s GAL. To: string looks like this: To: John, Doe; Jane, Brown I need to get Recipient’s primary SMTP address from address book, and if this is possible other e-mail addresses as well. What I expect to receive: “John, Doe’s address is ” Thank you, Victor |
#2
|
|||
|
|||
![]()
Firstly, instead of reading the To property, you need to loop through the
Recipients collection. Secondly, ff you were using Outlook 2007, you could read the Recipient.AddressEntry.GetExchangeUser.PrimarySMTP Address property. In older versions of Outlook your only choice is either Extended MAPI (C++ or Delphi) or plug Redemption (url below) which exposes AddressEntry.SmtpAddress property/plug -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "VictorL" wrote in message ... 'Hello, I'm writing script for Outlook 2003 that has to check recipients SMTP address. Most recipients are in the Exchange's GAL. To: string looks like this: To: John, Doe; Jane, Brown I need to get Recipient's primary SMTP address from address book, and if this is possible other e-mail addresses as well. What I expect to receive: "John, Doe's address is " Thank you, Victor |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reading SMTP address from Exchange Sender mail address | VebKol | Outlook and VBA | 4 | March 6th 09 04:08 PM |
Can't get SMTP address of contact that shares email address of an Exchange user | Jeff | Outlook and VBA | 14 | January 15th 09 12:50 AM |
550 Spam check failed for recipient's address | lkinninmont | Outlook - Installation | 3 | February 13th 07 05:07 AM |
ҵSMTPķǷȷ ʻ: 'POP3', : 'SMTP', Э: SMTP, ˿: 25, ȫ(SSL): , ִ: 11001, : 0x800CCC0D | John Smith | Outlook Express | 0 | September 5th 06 01:15 AM |
ҵsmtpķǷȷ ʻ: 'pop3', : 'smtp', Э: SMTP, ˿: 25, ȫ(SSL): , ִ: 11001, : 0x800CCC0D | Outlook Express | 0 | June 17th 06 09:44 AM |