![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi everyone, I'm quite new in this issue. I've been found out some
information about how to get the mails from outlook. but it's a little bit hassle. In my case, we've got a Exchange server and I'd like to get the information of some specific fodlers in my mail account. Can anyone help me , recommending a good link or a good solutions? Thanks |
Ads |
#2
|
|||
|
|||
![]()
You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.
-- 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 "Xiao" wrote in message news ![]() Hi everyone, I'm quite new in this issue. I've been found out some information about how to get the mails from outlook. but it's a little bit hassle. In my case, we've got a Exchange server and I'd like to get the information of some specific fodlers in my mail account. Can anyone help me , recommending a good link or a good solutions? Thanks |
#3
|
|||
|
|||
![]()
Thanks Sue,
But one thing, i was talking with some mates and they recommend to use CDO as we have a exchange server. This methods and example look good, but they work properly over the exchange server. Is there any other solution with CDO. Thanks a lot again. "Sue Mosher [MVP-Outlook]" wrote: You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string. -- 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 "Xiao" wrote in message news ![]() Hi everyone, I'm quite new in this issue. I've been found out some information about how to get the mails from outlook. but it's a little bit hassle. In my case, we've got a Exchange server and I'd like to get the information of some specific fodlers in my mail account. Can anyone help me , recommending a good link or a good solutions? Thanks |
#4
|
|||
|
|||
![]()
Sorry, maybe i wasn't very clear in my previous post. My problem is that we
are working with a Exchange server and the application is going to work remotely through CITRIX, yes i know, it's a little bit confusing, sorry.Then can i connect to a exchange server using the outlook object model or maybe I'd need to used the CDO library?. Thanks again "Xiao" wrote: Thanks Sue, But one thing, i was talking with some mates and they recommend to use CDO as we have a exchange server. This methods and example look good, but they work properly over the exchange server. Is there any other solution with CDO. Thanks a lot again. "Sue Mosher [MVP-Outlook]" wrote: You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string. -- 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 "Xiao" wrote in message news ![]() Hi everyone, I'm quite new in this issue. I've been found out some information about how to get the mails from outlook. but it's a little bit hassle. In my case, we've got a Exchange server and I'd like to get the information of some specific fodlers in my mail account. Can anyone help me , recommending a good link or a good solutions? Thanks |
#5
|
|||
|
|||
![]()
Are you interested in writing a client application that each user will use or a server application with no client component? If you're writing a client application, whether the users run Outlook through Citrix or have Exchange accounts is largely irrelevant. Note that CDO is not installed by default on clients, but can be added.
-- 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 "Xiao" wrote in message ... Sorry, maybe i wasn't very clear in my previous post. My problem is that we are working with a Exchange server and the application is going to work remotely through CITRIX, yes i know, it's a little bit confusing, sorry.Then can i connect to a exchange server using the outlook object model or maybe I'd need to used the CDO library?. Thanks again "Xiao" wrote: Thanks Sue, But one thing, i was talking with some mates and they recommend to use CDO as we have a exchange server. This methods and example look good, but they work properly over the exchange server. Is there any other solution with CDO. Thanks a lot again. "Sue Mosher [MVP-Outlook]" wrote: You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string. "Xiao" wrote in message news ![]() information about how to get the mails from outlook. but it's a little bit hassle. In my case, we've got a Exchange server and I'd like to get the information of some specific fodlers in my mail account. Can anyone help me , recommending a good link or a good solutions? |
#6
|
|||
|
|||
![]()
I'm writing a client application, i hope that this can help me.
just last question, how i can get the mails in the folder? sorry if i'm very annnoying, i owe u one. thanks "Sue Mosher [MVP-Outlook]" wrote: Are you interested in writing a client application that each user will use or a server application with no client component? If you're writing a client application, whether the users run Outlook through Citrix or have Exchange accounts is largely irrelevant. Note that CDO is not installed by default on clients, but can be added. -- 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 "Xiao" wrote in message ... Sorry, maybe i wasn't very clear in my previous post. My problem is that we are working with a Exchange server and the application is going to work remotely through CITRIX, yes i know, it's a little bit confusing, sorry.Then can i connect to a exchange server using the outlook object model or maybe I'd need to used the CDO library?. Thanks again "Xiao" wrote: Thanks Sue, But one thing, i was talking with some mates and they recommend to use CDO as we have a exchange server. This methods and example look good, but they work properly over the exchange server. Is there any other solution with CDO. Thanks a lot again. "Sue Mosher [MVP-Outlook]" wrote: You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string. "Xiao" wrote in message news ![]() information about how to get the mails from outlook. but it's a little bit hassle. In my case, we've got a Exchange server and I'd like to get the information of some specific fodlers in my mail account. Can anyone help me , recommending a good link or a good solutions? |
#7
|
|||
|
|||
![]()
What is annoying is that you apparently have not learned how to use the object browser (F2 in VBA), Outlook developer Help, or the Microsoft Knowledge Base to look up such basics as the names of objects and collections. Each Outlook MAPIFolder collection has an Items collection. The MSKB has a detailed article on how to write code to work with Items and Folders, to supplement the articles in Help.
CDO would be faster for processing large numbers of items, but would be subject to Outlook security prompts. -- 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 "Xiao" wrote in message ... I'm writing a client application, i hope that this can help me. just last question, how i can get the mails in the folder? sorry if i'm very annnoying, i owe u one. thanks "Sue Mosher [MVP-Outlook]" wrote: Are you interested in writing a client application that each user will use or a server application with no client component? If you're writing a client application, whether the users run Outlook through Citrix or have Exchange accounts is largely irrelevant. Note that CDO is not installed by default on clients, but can be added. "Xiao" wrote in message ... Sorry, maybe i wasn't very clear in my previous post. My problem is that we are working with a Exchange server and the application is going to work remotely through CITRIX, yes i know, it's a little bit confusing, sorry.Then can i connect to a exchange server using the outlook object model or maybe I'd need to used the CDO library?. Thanks again "Xiao" wrote: Thanks Sue, But one thing, i was talking with some mates and they recommend to use CDO as we have a exchange server. This methods and example look good, but they work properly over the exchange server. Is there any other solution with CDO. Thanks a lot again. "Sue Mosher [MVP-Outlook]" wrote: You can use the Namespace.GetDefaultFolder method to return any mailbox default folder as a MAPIFolder object. Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string. "Xiao" wrote in message news ![]() information about how to get the mails from outlook. but it's a little bit hassle. In my case, we've got a Exchange server and I'd like to get the information of some specific fodlers in my mail account. Can anyone help me , recommending a good link or a good solutions? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 Control.Context problem VB6.0 | [email protected] | Add-ins for Outlook | 8 | December 11th 06 11:35 PM |
Outlook 2007 Ribbons and VB6 | Sanjay Singh | Add-ins for Outlook | 13 | October 30th 06 08:26 PM |
Reading mails from Sent items, Deleted items, Draft folder of outlook from VB6.0 | Viswanathan | Outlook - General Queries | 8 | May 26th 06 04:31 PM |
VB6 - Read Mail Outlook | Viswanathan | Outlook - General Queries | 3 | May 23rd 06 04:37 PM |
Any advantages of VSTO instead of VB6 for Outlook add-in? | mattiasw | Add-ins for Outlook | 4 | February 24th 06 07:00 AM |