![]() |
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
|
|||
|
|||
![]()
Hi Guys,
Is there a way of getting the SMTP address from Outlook 2000? For example, I have a name John Doe and it will resolve that name for me (I tried ResolveAll but a "a program is trying to access email address" security prompt is popping up, which is unacceptable) and give me the SMTP address and not the EX address. I tried googling for Redemption and CDO but I'm getting nowhere. I keep getting the "Get the address of Sender" examples and I'm having trouble adopting the code to fetch the SMTP address of a name only. Note that there is no existing message, just a name. Any help would be much appreciated. Thanks! Boy |
Ads |
#2
|
|||
|
|||
![]()
To get the SMTP address instead of an Exchange distinguished name address
you must use something like CDO 1.21 or Redemption, the properties you need aren't exposed to the Outlook object model in Outlook 2000. There are lots of examples of using CDO or Redemption to get the SMTP address, but CDO will always fire the security prompts unless the administrative security form is used. That must be set up by an Exchange admin. Here's one Redemption example: http://www.outlookcode.com/codedetail.aspx?id=1455. If you go to www.outlookcode.com and search for "SMTP address" you'll find a lot of examples aside from the one I pointed to. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ... Hi Guys, Is there a way of getting the SMTP address from Outlook 2000? For example, I have a name John Doe and it will resolve that name for me (I tried ResolveAll but a "a program is trying to access email address" security prompt is popping up, which is unacceptable) and give me the SMTP address and not the EX address. I tried googling for Redemption and CDO but I'm getting nowhere. I keep getting the "Get the address of Sender" examples and I'm having trouble adopting the code to fetch the SMTP address of a name only. Note that there is no existing message, just a name. Any help would be much appreciated. Thanks! Boy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
SMTP addresses not appearing in the Outlook 2k3 address book | [email protected] | Outlook - Using Contacts | 0 | November 23rd 07 06:28 AM |
Retrieving/Exporting cached email address in outlook express | Tom Machado | Outlook - General Queries | 1 | December 5th 06 09:49 PM |
ÎÞ·¨ÕÒµ½Ö÷»ú¡°smtp¡±¡£Çë¼ì²éÊäÈëµÄ·þÎñÆ÷ÃûÊÇ·ñÕýÈ·¡£ ÕÊ»§: 'pop3', ·þÎñÆ÷: 'smtp', ÐÒé: SMTP, ¶Ë¿Ú: 25, °²È«(SSL): ·ñ, Ì×½Ó×Ö´íÎó: 11001, ´íÎóºÅ: 0x800CCC0D | Outlook Express | 0 | June 17th 06 09:44 AM | |
Suppress Outlook 2000 from automatically retrieving Exchange 2003 Email | Ed_No_Spam_Please_Weber@Weber_Spam_Not_Enterprises.Org | Outlook - General Queries | 2 | March 5th 06 04:01 AM |