Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: VSTO plugin + Distribution List resolution problem..

Geek News

VSTO plugin + Distribution List resolution problem..
"Sanjay" <spatel005[ at ]gmail.com> 5/12/2006 1:38:53 PM
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

Re: VSTO plugin + Distribution List resolution problem..
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 5/12/2006 2:16:06 PM
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" <spatel005[ at ]gmail.com> wrote in message news:1147441133.727150.141130[ at ]u72g2000cwu.googlegroups.com...
[Quoted Text]
> 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
>
Re: VSTO plugin + Distribution List resolution problem..
"Sanjay" <spatel005[ at ]gmail.com> 5/12/2006 2:58:23 PM
It is an Exchange DL --

Re: VSTO plugin + Distribution List resolution problem..
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 5/12/2006 3:21:28 PM
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" <spatel005[ at ]gmail.com> wrote in message news:1147445903.275590.172420[ at ]g10g2000cwb.googlegroups.com...
[Quoted Text]
> It is an Exchange DL --
>
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> wrote in message news:e7ZO7LddGHA.3632[ at ]TK2MSFTNGP05.phx.gbl...
What kind of DL -- personal or Exchange?

"Sanjay" <spatel005[ at ]gmail.com> wrote in message news:1147441133.727150.141130[ at ]u72g2000cwu.googlegroups.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
>
Re: VSTO plugin + Distribution List resolution problem..
"Sanjay" <spatel005[ at ]gmail.com> 5/12/2006 3:55:52 PM
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.

????

Re: VSTO plugin + Distribution List resolution problem..
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 5/12/2006 4:25:37 PM
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" <spatel005[ at ]gmail.com> wrote in message news:1147449352.148968.141960[ at ]g10g2000cwb.googlegroups.com...
[Quoted Text]
> 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]" <suemvp[ at ]outlookcode.com> wrote in message news:%23DX5WqddGHA.3348[ at ]TK2MSFTNGP03.phx.gbl...
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" <spatel005[ at ]gmail.com> wrote in message news:1147445903.275590.172420[ at ]g10g2000cwb.googlegroups.com...
> It is an Exchange DL --
>
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> wrote in message news:e7ZO7LddGHA.3632[ at ]TK2MSFTNGP05.phx.gbl...
What kind of DL -- personal or Exchange?

"Sanjay" <spatel005[ at ]gmail.com> wrote in message news:1147441133.727150.141130[ at ]u72g2000cwu.googlegroups.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
>
Re: VSTO plugin + Distribution List resolution problem..
"Sanjay" <spatel005[ at ]gmail.com> 5/12/2006 5:44:05 PM
The expanding is not done in code... it is done simply by click on the
[+] next to the DL name in the TO list.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net