473,386 Members | 1,644 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,386 software developers and data experts.

Checking Exchange server for new mail

Hey experts,

First let me say I know almost nothing about Exchange, so if I say incorrect
things about it, forgive me ;)

What I need to do is, connect to the local Exchange server and monitor all
incoming email. So preferably an event is raised when an email enters the
queue.
Is this possible? I've downloaded the Exchange 2000 SDK, but to be honest, I
couldn't find any good samples there. Is there a tutorial somewhere on how
to do this? Can someone give me a basic code sample of connecting and
listing the mails on the server?

Thanks in advance,

Razzie
Nov 16 '05 #1
4 5202
This would be a good question to ask in the
microsoft.public.exchange2000.development newsgroup.

Cheers,
John Wadie

Nov 16 '05 #2
This is harder than it sounds, and harder than it should be.

If you are on a client where Outlook is installed, you can use the Outlook
SDK to hook in to the Outlook API. Then, this isn't too bad.

If you are on a server, or on a client where Outlook is not installed, you
can use EMAPI or you can use WebDAV.

WebDAV uses less resources, but it's hard as heck to get any documentation
on it. I have code that does this using WebDAV (not fully debugged yet,
unfortunately).

Can you get the e-mail to come to a POP3 server instead of Exchange? If
so, there are readily available commercial components that will work. There
may be a commercial component available for the Exchange reading ability as
well... not sure.

Good luck,
---- Nick

"Razzie" <ra****@quicknet.nl> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hey experts,

First let me say I know almost nothing about Exchange, so if I say incorrect things about it, forgive me ;)

What I need to do is, connect to the local Exchange server and monitor all
incoming email. So preferably an event is raised when an email enters the
queue.
Is this possible? I've downloaded the Exchange 2000 SDK, but to be honest, I couldn't find any good samples there. Is there a tutorial somewhere on how
to do this? Can someone give me a basic code sample of connecting and
listing the mails on the server?

Thanks in advance,

Razzie

Nov 16 '05 #3
Hmmm my preference is to write it for a server, although hooking in to the
Outlook API is not impossible. I will look into this.
I will also google for EMAPI, since I didn't know of it.

I just thought it was easy to connect to an Exchange server and read an
email. Guess I was wrong :)

Thanks for your help!
Razzie

"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:bFdZc.5805$3l3.4357@attbi_s03...
This is harder than it sounds, and harder than it should be.

If you are on a client where Outlook is installed, you can use the Outlook
SDK to hook in to the Outlook API. Then, this isn't too bad.

If you are on a server, or on a client where Outlook is not installed, you
can use EMAPI or you can use WebDAV.

WebDAV uses less resources, but it's hard as heck to get any documentation
on it. I have code that does this using WebDAV (not fully debugged yet,
unfortunately).

Can you get the e-mail to come to a POP3 server instead of Exchange? If
so, there are readily available commercial components that will work.
There
may be a commercial component available for the Exchange reading ability
as
well... not sure.

Good luck,
---- Nick

"Razzie" <ra****@quicknet.nl> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hey experts,

First let me say I know almost nothing about Exchange, so if I say

incorrect
things about it, forgive me ;)

What I need to do is, connect to the local Exchange server and monitor
all
incoming email. So preferably an event is raised when an email enters the
queue.
Is this possible? I've downloaded the Exchange 2000 SDK, but to be
honest,

I
couldn't find any good samples there. Is there a tutorial somewhere on
how
to do this? Can someone give me a basic code sample of connecting and
listing the mails on the server?

Thanks in advance,

Razzie


Nov 16 '05 #4
I posted it there too. Thanks for the tip.

"John Wadie" <jo********@hotmail.com> wrote in message
news:BL**************@cpmsftngxa10.phx.gbl...
This would be a good question to ask in the
microsoft.public.exchange2000.development newsgroup.

Cheers,
John Wadie

Nov 16 '05 #5

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

Similar topics

4
by: StinkFinger | last post by:
My IIS / PHP / MySQL and Exchange are on the same box. To allow PHP to send mail I need to add my servers IP to the "Granted" list for the SMTP Virtual Server in Exchange, however, this opens me up...
1
by: Jim in Arizona | last post by:
I have no idea how to get started, really, but I am looking for a way to have an email sent via an ASP page via our Exchange 2000 server. I have a fairly simple asp page that displays data from a...
1
by: dananrg | last post by:
I would like to configure e-mail alerts on my SQL Server 2000 box. However, we also run Exchange on the same machine. I've been told there could be conflicts/issues having Outlook on the same...
0
by: darin | last post by:
I am trying to send email through our Exchange server but the emails are sitting the queue folder. In the Default SMTP Virtual Server properties of IIS I *think* I have to point to our Exchange...
3
by: mphanke | last post by:
Hi there, I have a customer who has an Exchange Server running on an ISA Server. And there my problem begins... I have to pickup eMails through my software from that server - the problem: I...
8
by: Frank | last post by:
I think I've confused myself completely here :-) I have used System.Web.Mail, but am not sure if this works with Exchange Server 5.5. I asked the client if they're email server supported SMTP, and...
4
by: Norton | last post by:
Hi all, I would like to retrieve mail from a mail server (Exchange Server 5.5), do some operations and then delete email. I have try using Outlook to retrieve mail items, it works but...
1
by: Jim H | last post by:
I want to write an outlook plug-in or even a separate app if necessary to connect to an exchange server to get mail off of it. My outlook is currently connected to Exchange server A, I need to get...
8
by: Michel Posseth [MCP] | last post by:
Hi does someone has experience with this ?? i have made a lot of apps in the past that were capable of sending e-mails the server i then talked to was a Linux SMTP server and it worked great ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.