473,545 Members | 2,009 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Outlook Polling or Some type of pulling

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 server)? It doesn't seem
to. When a message gets to Exchange, it seems to do some type of Push to
Outlook as Outlook has it immediately.

If so, ss there a way to make my program do that in VS. We are getting
notifications in our mailbox of actions happening in various areas and would
like to know immediatly when these email show up. At the momen, since we
poll, it could take 5 minutes to find out if a message is there.

Thanks,

Tom
Feb 1 '07 #1
3 1702
tshad wrote:
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 server)? It doesn't seem
to. When a message gets to Exchange, it seems to do some type of Push to
Outlook as Outlook has it immediately.
<snip>

I have no experience with Exchange, but this does seem to be an
Outlook/Exchange issue. BTW, You'l find some information in the
Microsoft web site related to Exchange 2003/2007, don't know if that
applies to you:

Notification Sample Application
http://msdn2.microsoft.com/en-us/library/ms878016.aspx

Exchange Server 2007 Subscribe Operation
http://msdn2.microsoft.com/en-us/library/aa566188.aspx

<quote>
Pull Subscription
The following code example demonstrates how to subscribe to a
pull event notification subscription. The subscription informs the
client application if new mail is placed in the inbox and if an
item
is deleted from the inbox. (...)
</quote>
Hope this puts you in the right track.

Regards,

Branco.

Feb 1 '07 #2
Tom,
>I have a program that is reading one of my mailboxes.
What are you using to read a mailbox?
Is this how Outlook does it (using Exchange as the server)? It doesn't
seem to. When a message gets to Exchange, it seems to do some type of
Push to Outlook as Outlook has it immediately.
No, Outlook doesn't do that, in simple terms Outlook opens a 2 way RPC
(Remote Procedure Call) channel with Exchange.

(Assuming you are using Outlook to read your mailbox) Rather then poll the
inbox for messages I would recommend you handle the Outlook
Application.New MailEx event. As the NewMailEx event is raised when new mail
arrives, plus it gives you a list of EntryIDs of what those items are.

--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"tshad" <t@home.comwrot e in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>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 server)? It doesn't
seem to. When a message gets to Exchange, it seems to do some type of
Push to Outlook as Outlook has it immediately.

If so, ss there a way to make my program do that in VS. We are getting
notifications in our mailbox of actions happening in various areas and
would like to know immediatly when these email show up. At the momen,
since we poll, it could take 5 minutes to find out if a message is there.

Thanks,

Tom
Feb 2 '07 #3
"Jay B. Harlow [MVP - Outlook]" <Ja************ @tsbradley.netw rote in
message news:ez******** ******@TK2MSFTN GP06.phx.gbl...
Tom,
>>I have a program that is reading one of my mailboxes.
What are you using to read a mailbox?
>Is this how Outlook does it (using Exchange as the server)? It doesn't
seem to. When a message gets to Exchange, it seems to do some type of
Push to Outlook as Outlook has it immediately.
No, Outlook doesn't do that, in simple terms Outlook opens a 2 way RPC
(Remote Procedure Call) channel with Exchange.

(Assuming you are using Outlook to read your mailbox) Rather then poll the
inbox for messages I would recommend you handle the Outlook
Application.New MailEx event. As the NewMailEx event is raised when new
mail arrives, plus it gives you a list of EntryIDs of what those items
are.
That sounds like what I am looking for. How would I do that in my
application?

Also, would that confict with my Outlook application?

Thanks,

Tom
>
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"tshad" <t@home.comwrot e in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>>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 server)? It doesn't
seem to. When a message gets to Exchange, it seems to do some type of
Push to Outlook as Outlook has it immediately.

If so, ss there a way to make my program do that in VS. We are getting
notification s in our mailbox of actions happening in various areas and
would like to know immediatly when these email show up. At the momen,
since we poll, it could take 5 minutes to find out if a message is there.

Thanks,

Tom

Feb 2 '07 #4

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

Similar topics

2
19312
by: Fritz Switzer | last post by:
Can anyone provide a small snippet in C# that pulls out the Contacts in Outlook XP. I've seen a couple of examples in C++ and VB in previous newsgroup posts, but either the originals didn't work or my conversion skills are weak. And if I have to use tlbimp.exe what is the right file to use. Thanks for the help. -- Fritz
4
5088
by: Max | last post by:
Hi, I would like to have a button and a combo box with options to select various versions of Microsoft Outlook: 2002, 2003. The user selects the email client and clicks the button. The only things happening will be: a new email is created and some text is placed in the body, then the email window is displayed. The user can close the window or...
3
1244
by: Matt | last post by:
I'm trying to do the following, pulling from Outlook with an independent project: 1. The day's Outlook appointments, with person that the appointment was scheduled with 2. Add a list of people from my project's end into the list of possible logins on the Outlook end Is there some book/online resource that can help me find what I'm...
62
11340
by: Ecohouse | last post by:
I was just wondering if there was any way to use a toolbar in Outlook 2002 in Access 2002? I want to create a custom toolbar in Access similar to the Calendar toolbar in Outlook. Any ideas?
11
2301
by: rayala | last post by:
Hi all, I am having very weird problem in my Outlook I am running my web application from with in Outlook.I found a strange problem that it is creating different sessionId if i open a new window using window.open from with in my application.I am pulling my hair all along but no solution so far.Hope you guys can help me out. my...
5
2319
by: Mike | last post by:
Hi everyone, I would like to be able to send updates to my web page from the server. If I understood correctly, this is not possible to achieve in a web environment, unless some sort of polling mechanism is used. I read a few articles and some of them suggest using some Javascript, while other suggest using Web Services. Some ways to achieve...
13
11257
by: LordHog | last post by:
Hello all, I have a little application that needs to poll a device (CAN communications) every 10 to 15 ms otherwise the hardware buffer might overflow when there are message burst on the bus. I would implement an interrupt driven model, but the external device (which is connected via USB) does not support interrupts therefore the device...
3
4113
by: Chris Mullins [MVP - C#] | last post by:
I'm sitting on the fence on this one, and wanted to get some other people's input. If you're a big B2B person, I would love to hear your feedback... I've got a SOA system. It's based on a combination of WCF Services and ASP.Net Pages. The consumers of this service are companies all over North America. Essentially, we've got some long...
2
2435
by: jrworsham | last post by:
Please help! I have an Outlook module opening a connection to Access, writing in some data, and then pulling out some data. But for some reason the code only works the first time and after that you have to close outlook and reopen it for it to work. After you run the code you can not even open the Access database until you close Outlook. I...
0
7475
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...
0
7664
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. ...
0
7921
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...
1
7437
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...
0
7771
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4958
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...
0
3465
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...

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.