A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Assign To and CC list while using Redemption.dll library



 
 
Thread Tools Search this Thread Display Modes
  #11  
Old April 30th 09, 03:11 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Assign To and CC list while using Redemption.dll library

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
email
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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 07:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.