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

Recipients Object



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 25th 08, 08:22 AM posted to microsoft.public.outlook.program_addins
Nir
external usenet poster
 
Posts: 6
Default Recipients Object

Hi,

I need to create a new DistList Item using C#
How Can I create a new Recipient Object, so I could add members to the list.

TIA

  #2  
Old March 25th 08, 01:54 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Recipients Object

You can use the NameSpace.CreateRecipient(string) method or you can create a
dummy mail item and add to that item's Recipients collection and then use
the Recipient and discard the dummy mail item.

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


"Nir" wrote in message
...
Hi,

I need to create a new DistList Item using C#
How Can I create a new Recipient Object, so I could add members to the
list.

TIA


  #3  
Old March 25th 08, 02:51 PM posted to microsoft.public.outlook.program_addins
Nir
external usenet poster
 
Posts: 6
Default Recipients Object

Thanks!
 




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
CPAO: object reference not set to an instance of an object Caroline Outlook - Calandaring 2 November 29th 08 04:32 AM
How can I send emails to multiple recipients & how many Recipients Cusie Outlook - Using Contacts 2 November 2nd 07 10:07 PM
Why does the Address property of the Recipient object in the Outlook object model look funny? Omatase Outlook - General Queries 2 July 13th 07 09:09 PM
Object reference not set to an instance of an object [email protected] Outlook - General Queries 0 May 17th 07 07:40 AM
Using Global Object ID dbornt Outlook and VBA 9 April 3rd 07 03:54 PM


All times are GMT +1. The time now is 12:29 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.