473,325 Members | 2,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Outlook Mailbox

Is there a way to read Outlook/Exchange Inbox with C# without Outlook installed?

--
Thanks
-------------------
cz****@wsinc.com
Nov 15 '05 #1
11 11963

Hi,

What about using IMAP ?

You can it from:
http://www.lumisoft.ee/lsWWW/Download/Downloads/Net/
"Peter" <cz****@wsinc.com> wrote in message news:%2******************@TK2MSFTNGP09.phx.gbl...
Is there a way to read Outlook/Exchange Inbox with C# without Outlook installed?

--
Thanks
-------------------
cz****@wsinc.com
Nov 15 '05 #2

Hi Peter,

If you did not install the outlook, you can not use automation to get you
want. But you can use CDO(Collaboration Data Objects) to access the inbox.
The article below "HOWTO: Use CDO (1.x) to Get Source Message from
Non-Delivery Receipt (NDR)" shows you a sample:
http://support.microsoft.com/?id=191365

Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #3
Jeffrey ,
Could be wrong, but IMO the CDO library is no longer a redistributable, so
you should install outlook or exchange client products.

Willy.

""Jeffrey Tan[MSFT]"" <v-*****@online.microsoft.com> wrote in message
news:PD**************@cpmsftngxa07.phx.gbl...

Hi Peter,

If you did not install the outlook, you can not use automation to get you
want. But you can use CDO(Collaboration Data Objects) to access the inbox.
The article below "HOWTO: Use CDO (1.x) to Get Source Message from
Non-Delivery Receipt (NDR)" shows you a sample:
http://support.microsoft.com/?id=191365

Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #4
Jeffrey,
As Willy stated. CDO is not redistributable.

http://support.microsoft.com/default...b;en-us;171440

CDO is an optional install with Outook, so the OP would need to have Outlook
installed to use CDO.

Hope this helps
Jay

""Jeffrey Tan[MSFT]"" <v-*****@online.microsoft.com> wrote in message
news:PD**************@cpmsftngxa07.phx.gbl...

Hi Peter,

If you did not install the outlook, you can not use automation to get you
want. But you can use CDO(Collaboration Data Objects) to access the inbox.
The article below "HOWTO: Use CDO (1.x) to Get Source Message from
Non-Delivery Receipt (NDR)" shows you a sample:
http://support.microsoft.com/?id=191365

Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #5
Peter,
Are you asking on the server where Exchange Server is installed or on a
user's PC talking to a "remote" machine where Exchange Server is installed?

For a user's PC you can use POP3, IMAP4 or WebDAV. I understand WebDAV is
more powerful/flexible then the first two, plus it uses XML ;-)

On the machine where Exchange Server is installed, and you can use CDO 1.21
via interop (Jeffrey's link).

The following site includes a good overview of most Microsoft Exchange
Technologies.

http://msdn.microsoft.com/library/de...technology.asp

The following site includes a plethora of links about using Outlook & CDO
from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

As was previously stated, to use CDO 1.21 on a client you need to install
Outlook, as that & Exchange Server itself is the only way to get it
installed. If you have the older Exchange 5.0 client, you can install that &
get CDO 1.1, however you are still required to install a client on
individual PCs... Also CDO 1.1 is a few revs behind...

Hope this helps
Jay

"Peter" <cz****@wsinc.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Is there a way to read Outlook/Exchange Inbox with C# without Outlook
installed?

--
Thanks
-------------------
cz****@wsinc.com
Nov 15 '05 #6
Thanks for your help!

This application will be running on a W2K server / not the same as Exchange
server. We are running Exchange 5.5 and I would like to monitor one of the
mail boxes. The W2K server is running an EDI application and we don't want
to install any office applications as this EDI application is sometime
finicky so I don't want to introduce any variables. This server has NET 1.1
installed and we had no problems with .NET so far.

I have not heard anything about WebDAV so I don't know what it is or how to
use it. Can I use WebDAV with Exchange 5.5 and can I move messages from
Inbox to different folders?
Thank you.


"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:uT***************@TK2MSFTNGP11.phx.gbl...
Peter,
Are you asking on the server where Exchange Server is installed or on a
user's PC talking to a "remote" machine where Exchange Server is installed?
For a user's PC you can use POP3, IMAP4 or WebDAV. I understand WebDAV is
more powerful/flexible then the first two, plus it uses XML ;-)

On the machine where Exchange Server is installed, and you can use CDO 1.21 via interop (Jeffrey's link).

The following site includes a good overview of most Microsoft Exchange
Technologies.

http://msdn.microsoft.com/library/de...technology.asp
The following site includes a plethora of links about using Outlook & CDO
from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

As was previously stated, to use CDO 1.21 on a client you need to install
Outlook, as that & Exchange Server itself is the only way to get it
installed. If you have the older Exchange 5.0 client, you can install that & get CDO 1.1, however you are still required to install a client on
individual PCs... Also CDO 1.1 is a few revs behind...

Hope this helps
Jay

"Peter" <cz****@wsinc.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
Is there a way to read Outlook/Exchange Inbox with C# without Outlook
installed?

--
Thanks
-------------------
cz****@wsinc.com

Nov 15 '05 #7
Peter,
This application will be running on a W2K server / not the same as Exchange server. We are running Exchange 5.5 and I would like to monitor one of the
mail boxes. Have you considered using Exchange Server Scripting? And instead of a
mailbox, a public folder address, you can even associate an SMTP address
with a public folder...
I have not heard anything about WebDAV so I don't know what it is or how to use it. Can I use WebDAV with Exchange 5.5 and can I move messages from
Inbox to different folders? Unfortunately I am predominately client side, I have not used WebDAV, the
link I gave has a link to some WebDAV info, I will check for some other
links for you.

More later.

Hope this helps
Jay

"Peter" <cz****@wsinc.com> wrote in message
news:e7*************@TK2MSFTNGP09.phx.gbl... Thanks for your help!

This application will be running on a W2K server / not the same as Exchange server. We are running Exchange 5.5 and I would like to monitor one of the
mail boxes. The W2K server is running an EDI application and we don't want to install any office applications as this EDI application is sometime
finicky so I don't want to introduce any variables. This server has NET 1.1 installed and we had no problems with .NET so far.

I have not heard anything about WebDAV so I don't know what it is or how to use it. Can I use WebDAV with Exchange 5.5 and can I move messages from
Inbox to different folders?
Thank you.

<<snip>>
Nov 15 '05 #8
Thanks for your help.

This looks promising, I'll have to check it out to see if I can move messages to different folders.

One problem I ran into with the Lumisoft library is when I am trying to read messages from the Inbox, when I step through the code everything works just fine, but when I run it normally the CPU goes to 100% and the call never returns with the Inbox messages.
"Ivar" <iv**@lumisoft.ee> wrote in message news:uG**************@TK2MSFTNGP10.phx.gbl...

Hi,

What about using IMAP ?

You can it from:
http://www.lumisoft.ee/lsWWW/Download/Downloads/Net/
"Peter" <cz****@wsinc.com> wrote in message news:%2******************@TK2MSFTNGP09.phx.gbl...
Is there a way to read Outlook/Exchange Inbox with C# without Outlook installed?

--
Thanks
-------------------
cz****@wsinc.com
Nov 15 '05 #9
When using Limisoft libraries I get the following error message when I try to loging with different user ID then my own using this method:
c.Authenticate(m_pUserName.Text,m_pPassword.Text);

---------------------------
Error
---------------------------
Error:Server returned:NO There is no such mailbox on this server
---------------------------
OK
---------------------------
"Ivar" <iv**@lumisoft.ee> wrote in message news:uG**************@TK2MSFTNGP10.phx.gbl...

Hi,

What about using IMAP ?

You can it from:
http://www.lumisoft.ee/lsWWW/Download/Downloads/Net/
"Peter" <cz****@wsinc.com> wrote in message news:%2******************@TK2MSFTNGP09.phx.gbl...
Is there a way to read Outlook/Exchange Inbox with C# without Outlook installed?

--
Thanks
-------------------
cz****@wsinc.com
Nov 15 '05 #10

Hi Peter,

There are much information in the MSDN, the link below tells you how to
Sending a Message through WebDav, You can find more information about
WebDav in the related articles in the same column of this article.
http://msdn.microsoft.com/library/de...us/wss/wss/_es
dk_sending_a_message_webdav.asp

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #11

Hi Peter,

We have no source code of his product, I think you need to contact him for
more information.
Acutally, you can get what you want through MAPI.
There are many samples of MAPI, you can install them on your machine. The
sample below tells you how to:
Send and read messages, list the contents of the Inbox, and view the
address book
http://msdn.microsoft.com/library/de...us/mapi/html/_
mapi1book_sample_cmc_client.asp

Also, the article below tells you how to Getting the Size of a Mailbox:
http://msdn.microsoft.com/library/de...us/e2k3/e2k3/_
esdk_getting_mailbox_size_webdav.asp

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Google Mike | last post by:
I've got RH9 Linux with default PHP. Is there a way to send email on Linux to an Exchange Server from PHP and/or other tools when there is *NOT* SMTP access? Has anyone figured out a way to...
2
by: Roger | last post by:
I am creating an application that will sit on a client pc and monitor the inbox. When an e-mail enters the inbox, then an even will be fired and I will then be able to process the mail. I have...
1
by: Roger | last post by:
I currently have an application that can monitor the Inbox of one mailbox running on a client using Outlook 2003. This is a standalone application that needs Outlook to be running in order to see...
0
by: Roger | last post by:
I currently have an application that can monitor the Inbox of one mailbox running on a client using Outlook 2003. This is a standalone application that needs Outlook to be running in order to see...
4
by: Pieter | last post by:
Hi, On the pc of one of my clients (W2000, Office 2003) I'm getting sometimes an exception when moving (Move) a MailItem to an Outlook-Folder: The RPC server is not available. (Exception from...
3
by: tshad | last post by:
I have a program that is reading one of my mailboxes. It is polling the mailboxes ever 5 minutes to see if there is a message or not. Is this how Outlook does it (using Exchange as the...
1
by: =?Utf-8?B?cm9i?= | last post by:
C#.Net Outlook 2003 automation (programmatically) with Office.Interop.Outlook Problem: I have my outlook 2003 configured with multiple mailbox on my local machine. I want to specify the mailbox...
1
by: allbelonging | last post by:
C#.Net Outlook 2003 automation (programmatically) with Office.Interop.Outlook Problem: I have my outlook 2003 configured with multiple mailbox on my local machine. I want to specify the mailbox...
0
by: DianaC | last post by:
Hi. I have to generate and send emails from C#.net 2.0 and have to use outlook. I am using Redemption to bypass the outlook security checks, but have the same problem when using CDO. I create an...
4
by: infomage27 | last post by:
I have tried scripting this with rules and VBA, now trying with C# but still failing. (code is exploratory, so please excuse the terribleness) maybe someone here will show me the error of my...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.