K
keijo47
Hi,
I need to synchronize Outlook recipients between Redemption's
SafeMailItem's SafeRecipients (normal recipients and distribution
lists) and a custom data structure (fields: Name, PhoneNumber,
IsResolved). It's easy from SafeRecipients to the custom data structure
but I've had some resolving problems when doing it the other way: the
resolved recipients in the custom data structure are the ones that the
user has already resolved -- manually, if necessary. So now if I build
a SafeRecipients collection from the recipients in the custom data
structure, I need to make the Outlook know who they are without having
to make the user resolve them again.
So the question is: how can I add recipients to a SafeRecipients
collection so that Outlook always knows who they are? Could I use
AddEx() here? If so, then does it work in all cases? What data do I
need to store in the custom data structure if I decide to do so and
where can I get that data? Could I possibly use EntryId property of a
Recipient somehow (doesn't it give a unique identifier for one
Recipient entry)?
I can change the custom data structure to hold any information needed,
though it would be nice if I could keep the data structure somewhat
Outlook-independent (otherwise, I could've used Outlook's/Redemption's
collections in the first place).
BR,
Keijo
I need to synchronize Outlook recipients between Redemption's
SafeMailItem's SafeRecipients (normal recipients and distribution
lists) and a custom data structure (fields: Name, PhoneNumber,
IsResolved). It's easy from SafeRecipients to the custom data structure
but I've had some resolving problems when doing it the other way: the
resolved recipients in the custom data structure are the ones that the
user has already resolved -- manually, if necessary. So now if I build
a SafeRecipients collection from the recipients in the custom data
structure, I need to make the Outlook know who they are without having
to make the user resolve them again.
So the question is: how can I add recipients to a SafeRecipients
collection so that Outlook always knows who they are? Could I use
AddEx() here? If so, then does it work in all cases? What data do I
need to store in the custom data structure if I decide to do so and
where can I get that data? Could I possibly use EntryId property of a
Recipient somehow (doesn't it give a unique identifier for one
Recipient entry)?
I can change the custom data structure to hold any information needed,
though it would be nice if I could keep the data structure somewhat
Outlook-independent (otherwise, I could've used Outlook's/Redemption's
collections in the first place).
BR,
Keijo