![]() |
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 |
#11
|
|||
|
|||
![]()
The name will only resolve correctly for an entry in your GAL or your
Contacts folder. As you found, the Recipient.Address is more universal. -- 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 "paresh" wrote in message ... Thanks Ken, it works absolutely fine. See my below code: rpl.Recipients.Add (objSafeMailItem.Sender.Name) For Each olkRecipient In objSafeMailItem.Recipients Set odRecip = olkRecipient Set oRecip = rpl.Recipients.Add(olkRecipient.Name) oRecip.Type = odRecip.Type Next rpl.Recipients.ResolveAll I have only one problem in resolving the email addresses that are outside our domain. It resolves the our domain address perfectly but it can't if email address in outside the domain. I think this is happening because I am using Recipient.Name property. So suppose name="xxx yyy" and oririginal id = " then it keeps "xxx yyy" in the recipients list and not resoving to original email id. Could you help me here. Thanks for being there. Paresh |
Ads |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Assign category to all members of a Distribution List | SB Mull | Outlook - Using Contacts | 1 | August 19th 08 01:25 AM |
Suspect Redemption Library Issue??? | Tom at GSD | Add-ins for Outlook | 6 | March 29th 07 09:11 PM |
Assign Task problem-Can't accept or assign | DOL | Outlook - Calandaring | 5 | June 29th 06 06:57 AM |
Redemption library - Add distribution list as member to another distributionlist | Tommy Ipsen | Outlook - General Queries | 0 | June 2nd 06 10:23 PM |
How to assign an ascending sort value to a list of contacts? | dtcre | Outlook - Using Contacts | 1 | May 19th 06 03:02 AM |