473,902 Members | 4,667 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Read Emails on Exchange server without OL client

Is there a way, with VS 2005 and FX 2.0, to read a given inbox? I need to
write a 'monitor' program and my boss is convinced, as is always his first
gut reaction, that we need to go buy a 3rd-party package to just read an
inbox. He may be right this time, but that's not usually my first gut
reaction--we've had too many good employees around here fired 'cause they
spent too much money on albatross software (another soapbox, sorry). I need
to write this monitor program in a very generic way, i.e. without Outlook
interfaces, but surely there's a generic way to do it with the FX 2.0,
right?

TIA!

--
TFWBWY...A
May 5 '06 #1
62 3474
http://msdn.microsoft.com/library/de...ore_events.asp

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com

"Bryan Dickerson" <tx******@netsc ape.net> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Is there a way, with VS 2005 and FX 2.0, to read a given inbox? I need to
write a 'monitor' program and my boss is convinced, as is always his first
gut reaction, that we need to go buy a 3rd-party package to just read an
inbox. He may be right this time, but that's not usually my first gut
reaction--we've had too many good employees around here fired 'cause they
spent too much money on albatross software (another soapbox, sorry). I
need to write this monitor program in a very generic way, i.e. without
Outlook interfaces, but surely there's a generic way to do it with the FX
2.0, right?

TIA!

--
TFWBWY...A

May 5 '06 #2
I, and my boss, were thinking of just writing a program to run on a
scheduled task about every 10 minutes to monitor this certain inbox. Is
there something in the Framework to just read, generically, of course, the
basic information about an inbox item? For example, I want to read all the
items in the inbox and see if there is anything there that is older than 10
minutes (these people are paranoid) and just send off an email alert to one
or more people based on what I find. I don't know if I want to go writing
Event Sinks, but perhaps that would be what it takes. It just seems that
this is almost too generic of a task to do to go and spend money on a TPP
that just reads an inbox. I could do that in VB6 without Outlook hooks and
without spending any money (in fact, I did it about 3 years ago).

"vbnetdev" <vb******@commu nity.nospam> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
http://msdn.microsoft.com/library/de...ore_events.asp

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com

"Bryan Dickerson" <tx******@netsc ape.net> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Is there a way, with VS 2005 and FX 2.0, to read a given inbox? I need
to write a 'monitor' program and my boss is convinced, as is always his
first gut reaction, that we need to go buy a 3rd-party package to just
read an inbox. He may be right this time, but that's not usually my
first gut reaction--we've had too many good employees around here fired
'cause they spent too much money on albatross software (another soapbox,
sorry). I need to write this monitor program in a very generic way, i.e.
without Outlook interfaces, but surely there's a generic way to do it
with the FX 2.0, right?

TIA!

--
TFWBWY...A


May 5 '06 #3
There is but I need to think about this. I hope you have some time. It will
take some doing.

Kelly

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com

"Bryan Dickerson" <tx******@netsc ape.net> wrote in message
news:uh******** ******@TK2MSFTN GP04.phx.gbl...
I, and my boss, were thinking of just writing a program to run on a
scheduled task about every 10 minutes to monitor this certain inbox. Is
there something in the Framework to just read, generically, of course, the
basic information about an inbox item? For example, I want to read all the
items in the inbox and see if there is anything there that is older than
10 minutes (these people are paranoid) and just send off an email alert to
one or more people based on what I find. I don't know if I want to go
writing Event Sinks, but perhaps that would be what it takes. It just
seems that this is almost too generic of a task to do to go and spend
money on a TPP that just reads an inbox. I could do that in VB6 without
Outlook hooks and without spending any money (in fact, I did it about 3
years ago).

"vbnetdev" <vb******@commu nity.nospam> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
http://msdn.microsoft.com/library/de...ore_events.asp

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com

"Bryan Dickerson" <tx******@netsc ape.net> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Is there a way, with VS 2005 and FX 2.0, to read a given inbox? I need
to write a 'monitor' program and my boss is convinced, as is always his
first gut reaction, that we need to go buy a 3rd-party package to just
read an inbox. He may be right this time, but that's not usually my
first gut reaction--we've had too many good employees around here fired
'cause they spent too much money on albatross software (another soapbox,
sorry). I need to write this monitor program in a very generic way,
i.e. without Outlook interfaces, but surely there's a generic way to do
it with the FX 2.0, right?

TIA!

--
TFWBWY...A



May 5 '06 #4
Chris Dunaway wrote:
Perhaps this will help:

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


That's pop3, not exchange.
May 5 '06 #6
vbnetdev wrote:
There is but I need to think about this. I hope you have some time. It will
take some doing.

Kelly


Well, I wish someone knew.

Microsoft literature states that Office should not be used for
background automation (only enhancing the client driven UI).

But what is to be used for these kinds of tasks remains unanswered?

In theory, Exchange is a database, with highly structured objects.

I should be able to log into it, read and manipulate these objects with
a server connection, either via an API or through some type of SOAP
protocol.
May 5 '06 #7
This looks awfully close to what I need. I will be anxious to see Kelly's
response as well, but this looks real good.

Thanx!

"Chris Dunaway" <du******@gmail .com> wrote in message
news:11******** **************@ j73g2000cwa.goo glegroups.com.. .
Perhaps this will help:

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

May 5 '06 #8
I've written a similar program in VS 2003 that gathers a few statistics
about Exchange users using Redemption Objects which you can find at
http://dimastr.com/redemption/ . Saved me a lot of time and effort and
if I'm not mistaken, doesn't cost anything as long as you aren't
distributing it in a commercial product. It's a COM library which may
or may not be what you were looking for. I haven't used 2005 myself
and I'm not familiar how it does COM interop.

May 5 '06 #9
Bryan,

still working on your issue. Would you say a mailbox greater than the size
of 0 would want your attention?

Kelly

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com

"Bryan Dickerson" <tx******@netsc ape.net> wrote in message
news:OE******** ******@TK2MSFTN GP03.phx.gbl...
This looks awfully close to what I need. I will be anxious to see Kelly's
response as well, but this looks real good.

Thanx!

"Chris Dunaway" <du******@gmail .com> wrote in message
news:11******** **************@ j73g2000cwa.goo glegroups.com.. .
Perhaps this will help:

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


May 5 '06 #10

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

Similar topics

4
13206
by: Seshadri | last post by:
Greetings, I am using C# to write a windows service that will periodically scan the exchange server for emails,fetch them, process the information in the emails and flag them after processing. I would appreciate if anyone reading this post can point me to some code that will read emails from an Exchange server please. Also, most of the help on the support on the MSDN site is making use of CDO for Exchange server. I am developing on...
62
10345
by: Bryan Dickerson | last post by:
Is there a way, with VS 2005 and FX 2.0, to read a given inbox? I need to write a 'monitor' program and my boss is convinced, as is always his first gut reaction, that we need to go buy a 3rd-party package to just read an inbox. He may be right this time, but that's not usually my first gut reaction--we've had too many good employees around here fired 'cause they spent too much money on albatross software (another soapbox, sorry). I need...
14
9914
by: sridhar | last post by:
iam having user account on an exchangeserver. with that can i send an email using python? if iam using the following code iam getting error fromAddress = 'sridhar_kasturi@satyam.com' toAddress = 'sridhar_kasturi@satyam.com' msg = "Subject: Hello\n\nThis is the body of the message." import smtplib
0
1688
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, My company will be hosting a webcast, and I need to send out 2000 individual emails to people who signed up (for login information...). I created an smtp app that I can loop through which uses smtp and our Exchange mail server. The smtp app works fine. I tested it on 10 test emails and called Client.Send 10 times. The emails went through (I emailed myself). My question is if anyone knows if Exchange server would be bogged...
0
9997
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9845
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11279
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10870
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10981
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7205
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5893
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3323
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.