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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VSTO plugin + Distribution List resolution problem..



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 12th 06, 02:38 PM posted to microsoft.public.outlook.program_addins
Sanjay
external usenet poster
 
Posts: 21
Default VSTO plugin + Distribution List resolution problem..

Hello --
I have a VSTO plugin for Outlook 2003 SP2. It checks the recipients
for each message against a list and issues a warning if there is a
match. If the recipients list contains a Distribution List, it will
resolve all the recipients within that DL and do its validation...

My issues is that outlook will intermittently report the DL recipient
as a "olUser" instead of "olDistList"...

ie: Recipient.DisplayType is reported as olUser.. Even the members
property of Recipient.AddressEntry is null.

Has somebody else faced this issue? Please suggest workarounds..

Thanks.

Sanjay

Ads
  #2  
Old May 12th 06, 03:16 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default VSTO plugin + Distribution List resolution problem..

What kind of DL -- personal or Exchange?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Sanjay" wrote in message oups.com...
Hello --
I have a VSTO plugin for Outlook 2003 SP2. It checks the recipients
for each message against a list and issues a warning if there is a
match. If the recipients list contains a Distribution List, it will
resolve all the recipients within that DL and do its validation...

My issues is that outlook will intermittently report the DL recipient
as a "olUser" instead of "olDistList"...

ie: Recipient.DisplayType is reported as olUser.. Even the members
property of Recipient.AddressEntry is null.

Has somebody else faced this issue? Please suggest workarounds..

Thanks.

Sanjay

  #3  
Old May 12th 06, 03:58 PM posted to microsoft.public.outlook.program_addins
Sanjay
external usenet poster
 
Posts: 21
Default VSTO plugin + Distribution List resolution problem..

It is an Exchange DL --

  #4  
Old May 12th 06, 04:21 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default VSTO plugin + Distribution List resolution problem..

I'd check in ADU&C to see just what kind of Exchange DL this might be -- whether there's a difference between it and one that works as you expect. For example, is the membership hidden?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Sanjay" wrote in message oups.com...
It is an Exchange DL --

"Sue Mosher [MVP-Outlook]" wrote in message ...
What kind of DL -- personal or Exchange?

"Sanjay" wrote in message oups.com...
Hello --
I have a VSTO plugin for Outlook 2003 SP2. It checks the recipients
for each message against a list and issues a warning if there is a
match. If the recipients list contains a Distribution List, it will
resolve all the recipients within that DL and do its validation...

My issues is that outlook will intermittently report the DL recipient
as a "olUser" instead of "olDistList"...

ie: Recipient.DisplayType is reported as olUser.. Even the members
property of Recipient.AddressEntry is null.

Has somebody else faced this issue? Please suggest workarounds..

Thanks.

Sanjay

  #5  
Old May 12th 06, 04:55 PM posted to microsoft.public.outlook.program_addins
Sanjay
external usenet poster
 
Posts: 21
Default VSTO plugin + Distribution List resolution problem..

Some more details..
I have one DL "DL Group ALL" that is composed of 2 DL's "DL Group 1" &
"DL Group 2". Now if I add these DL's individually to a message,
Outlook and the plugin behave as expected.

But if I add "DL Group ALL" to the "TO" list of a new message and then
expand the "DL" and then hit send, the 2 child DL's are reported as
olUser instead of olDistList.

????

  #6  
Old May 12th 06, 05:25 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default VSTO plugin + Distribution List resolution problem..

YOu might want to show a code snippet to illustrate how you are expanding the DL.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Sanjay" wrote in message oups.com...
Some more details..
I have one DL "DL Group ALL" that is composed of 2 DL's "DL Group 1" &
"DL Group 2". Now if I add these DL's individually to a message,
Outlook and the plugin behave as expected.

But if I add "DL Group ALL" to the "TO" list of a new message and then
expand the "DL" and then hit send, the 2 child DL's are reported as
olUser instead of olDistList.


"Sue Mosher [MVP-Outlook]" wrote in message ...
I'd check in ADU&C to see just what kind of Exchange DL this might be -- whether there's a difference between it and one that works as you expect. For example, is the membership hidden?


"Sanjay" wrote in message oups.com...
It is an Exchange DL --

"Sue Mosher [MVP-Outlook]" wrote in message ...
What kind of DL -- personal or Exchange?

"Sanjay" wrote in message oups.com...
Hello --
I have a VSTO plugin for Outlook 2003 SP2. It checks the recipients
for each message against a list and issues a warning if there is a
match. If the recipients list contains a Distribution List, it will
resolve all the recipients within that DL and do its validation...

My issues is that outlook will intermittently report the DL recipient
as a "olUser" instead of "olDistList"...

ie: Recipient.DisplayType is reported as olUser.. Even the members
property of Recipient.AddressEntry is null.

Has somebody else faced this issue? Please suggest workarounds..

Thanks.

Sanjay

  #7  
Old May 12th 06, 06:44 PM posted to microsoft.public.outlook.program_addins
Sanjay
external usenet poster
 
Posts: 21
Default VSTO plugin + Distribution List resolution problem..

The expanding is not done in code... it is done simply by click on the
[+] next to the DL name in the TO list.

 




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
distribution list problem the mailman Outlook - General Queries 11 May 4th 06 11:01 PM
make a distribution list from a named category(in contact list) Davida Outlook - General Queries 8 April 16th 06 08:12 AM
outlook screen resolution HB Outlook - General Queries 2 April 15th 06 09:00 PM
Outlook 2003 - name resolution - cache Sean Outlook - General Queries 2 April 4th 06 10:14 AM
Problem in resolving contacts from Global Distribution List Prasad Bhagwat Outlook - Using Forms 1 January 20th 06 05:25 PM


All times are GMT +1. The time now is 09:25 AM.


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.