
'subscribing' to distribution lists
You can delete members of a DL located in the GAL but you can't add
them. You have to use CDO code for that. See the example at
http://www.*-*-*.com/ #DeleteDLMember
--
Ken Slovak
[MVP - Outlook]
http://www.*-*-*.com/
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.*-*-*.com/
Extended Reminders
http://www.*-*-*.com/
Quote:
> I'm in a company with 200+ users. All email addresses are
> in the Global Address List, along with several
> Distribution lists. I want user to be able to send an
> email to a dist list with 'subscribe' or 'unsubscribe' in
> the subject and have outlook automatically add or remove
> the user from that list. I can get it to work if the dist
> list is in the contacts folder, but not for dist lists in
> the Global Address List. In a contact folder, things are
> considered 'Items' which can be a 'ContactItem' or
> a 'DistListItem', but in the GAL they're
> all 'AddressEntry' types, so I can't use the AddMember
> command like I can in the contact folder. Any help would
> be appreciated