Outlook Object Model and CDO 
Author Message
 Outlook Object Model and CDO

You can use either MailItem.To or MailItem.Recipients.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.*-*-*.com/
Author of
     Microsoft Outlook Programming - coming Fall 2002
      http://www.*-*-*.com/


Quote:
> Hello,

> I have an application using Outlook Object Model.
> I'd like to get "To" property of a MailItem in SMTP
> format. Is it possible using Outlook Object Model?

> If not, is there a direct way how to initiate CDO's message
> object using an Outlook Object Model's MailItem object?

> Thanks in advance,
> Lubos.



Tue, 21 Dec 2004 01:39:38 GMT  
 Outlook Object Model and CDO
Hi Sue,

thanks for the reply.

My assumptions:

re MailItem.To - it may return an Address-book-resolved
address ;-(

re MailItem.Recipients - accessing it may pop up the
security warning ;-(

Any hint regarding the CDO linkage with Outlook Object
Model?

TIA,
Lubos.
P.S.: I know there is this Redemption thing but isn't
there any other way?

Quote:
>-----Original Message-----
>You can use either MailItem.To or MailItem.Recipients.

>--
>Sue Mosher, Outlook MVP
>Outlook and Exchange solutions at http://www.slipstick.com
>Author of
>     Microsoft Outlook Programming - coming Fall 2002
>     http://www.slipstick.com/books/jumpstart.htm





Quote:
>> Hello,

>> I have an application using Outlook Object Model.
>> I'd like to get "To" property of a MailItem in SMTP
>> format. Is it possible using Outlook Object Model?

>> If not, is there a direct way how to initiate CDO's
message
>> object using an Outlook Object Model's MailItem object?

>> Thanks in advance,
>> Lubos.

>.



Fri, 24 Dec 2004 17:28:20 GMT  
 Outlook Object Model and CDO
CDO is subject to the same security prompts as the Outlook model. Redemption
and Extended MAPI are the only approaches that doesn't involve prompts.

THe sample at http://www.cdolive.com/cdo5.htm#EMailAddressOfSender shows how
to get the SMTP address from an Exchange recipient.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
     Microsoft Outlook Programming - coming Fall 2002
     http://www.slipstick.com/books/jumpstart.htm


Quote:
> Hi Sue,

> thanks for the reply.

> My assumptions:

> re MailItem.To - it may return an Address-book-resolved
> address ;-(

> re MailItem.Recipients - accessing it may pop up the
> security warning ;-(

> Any hint regarding the CDO linkage with Outlook Object
> Model?

> TIA,
> Lubos.
> P.S.: I know there is this Redemption thing but isn't
> there any other way?

> >-----Original Message-----
> >You can use either MailItem.To or MailItem.Recipients.




> >> Hello,

> >> I have an application using Outlook Object Model.
> >> I'd like to get "To" property of a MailItem in SMTP
> >> format. Is it possible using Outlook Object Model?

> >> If not, is there a direct way how to initiate CDO's
> message
> >> object using an Outlook Object Model's MailItem object?



Fri, 24 Dec 2004 19:27:02 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Outlook Object Model or CDO

2. CDO vs. Outlook Object Model

3. CDO vs Outlook Objec Model

4. using outlook 97 object model with outlook 95?

5. Outlook Object Model in Access + Outlook View Control

6. Outlook Object Model... Need Version of Outlook

7. CDO vs Outlook 2000 Object Library?? (Outlook Newbie)

8. Calendar Folders and the CDO object model

9. Report Object Model/Viewer Object Model

10. Security update - Outlook object model

11. Missing Outlook Object Model events?

12. New to Outlook Object Model

 

 
Powered by phpBB® Forum Software