473,811 Members | 2,783 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Monitoring an MS Exchange mailbox

I have written a script to monitor my MS Exchange mailbox for certain
messages and post information to an MS SQL Server Database. Everything
works great except that each time I run the script I am prompted by Windows
to choose the profile of the mailbox via a dialog box. I'd like to run the
script every hour, so this is not good.

Is there any way to either specify the profile or accept the default?

Thanks for any help you can send my way.

--greg

*************** *************** *************** *************** **********
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.
Jul 18 '05 #1
2 4643
Lindstrom Greg - glinds wrote:
I have written a script to monitor my MS Exchange mailbox for certain
messages and post information to an MS SQL Server Database. Everything
works great except that each time I run the script I am prompted by Windows
to choose the profile of the mailbox via a dialog box. I'd like to run the
script every hour, so this is not good.

Is there any way to either specify the profile or accept the default?


Certainly. Just pass the profile name as an argument to the function
opening the connection to exchange.

Regards,
Martin

Jul 18 '05 #2
In message <ma************ *************** *********@pytho n.org>
Lindstrom Greg - glinds <Gr************ @acxiom.com> wrote:
I have written a script to monitor my MS Exchange mailbox for certain
messages and post information to an MS SQL Server Database. Is there any way to either specify the profile or accept the default?


I don't know about that but I do something similar using imaplib - it
used to connect to a non-Exchange email server, I left it as it was
when we switched to Exchange and it continued to work (obviously with
IMAP enabled in Exchange).
--
___
|im ---- ARM Powered ----
Jul 18 '05 #3

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

Similar topics

5
4734
by: Lindstrom Greg - glinds | last post by:
I'm using python 2.3 and Windows 2000 "Professional" to access a Microsoft Exchange Server to monitor messages and perform various tasks around the office. My little program is attracted quite a bit of attention and I have been asked to add some features, but I don't know how to do a couple of things. Can anyone either help me out with the details, or point me to where I can get the information? Here's my task list: 1. Create a...
0
1930
by: Manuel Krummenacher | last post by:
Hello! I'm trying to develop an application to manage email-forwardings on an Exchange 2000 Server. Forwardings to external Addresses are requiring a contact with an Exchange account. I can create the contact in the Active Directory, but when I try to create an Exchange Account, I get this error (translated from German):
3
4023
by: maria.s | last post by:
Hi, I try to create a calender-item in the personal calendar folder from an ASP.NET application using XML-HTTP Request (WebDAV). System: Windows 2003 SP1, Exchange 2003 SP1 Configuration IIS: Default Web Site stopped, OWA running on a second virtual site, my application is running on a third virtual site.
0
1301
by: Gabe Matteson | last post by:
Good morning, The point of this posting is to find out a way to insert downloaded email into your exchange mailbox. 1. I know how to download pop3 mail using asp to a web page. 2. i would like to add a link on the exchange webmail options page which i successfully can that would load up my asp page which downloads email from my pop3 mailbox. i.e. my cox address. i would like to send all my mail that shows up in my web page to my exchange...
0
1836
by: Tim Sapp | last post by:
Guys, I am working on a new web site for our company and have started to move my code from VB.Net to C#. I have ran into a snag that I can't seem to figure out. I am trying to create an Exchange mailbox for a user ID that I just created using System.DirectoryServices. I have created the user, set the password, and enabled the account. When I try and create the mailbox I get a "The parameter is incorrect" error message on...
0
1189
by: Flens | last post by:
Hi, I have code that worked until we upgraded from Exchange 2000 to Exchange 2003 and I now get a catastrophic failure at CreateMailbox (COMException (0x080004005)) I have updated the CDOEXM.dll (Version: 6.5.6944.0) as well. private void CreateMailbox(string homeMDB,DirectoryEntry CurrUser)
0
1582
by: Suman | last post by:
Hello Group, I am relatively new to .NET. I am trying to create a user in AD and a corresponding email account in the exchange server from an ASP.NET, C# application. ----------------------------- I have a problem wherein I am able to create a user but am unable to create a mailbox for the user. I "WAS" using exchange 2000.
0
2430
by: arjen1984 | last post by:
I want to create a mailbox-enabled mailbox. First i have used the toturial from microsoft: http://support.microsoft.com/kb/313114 Then my homeMDB string was incorrect. I saw an article , link: http://forums.asp.net/thread/952974.aspx This guy has the same problem as me. I still have that problem. Mine server is a local server, so i have nog second domain name, i think. This i my code of my homeMDB: try { CDOEXM.IMailboxStore...
4
17682
by: pjblecha | last post by:
Hello all: I'm working on a non-web-based (darn it...) application that will be set up as a scheduled task on an Exchange server to run against a mailbox 2-3 times per day. What the app needs to do is read messages in the mailbox, then create appointment items based on filtering the subject line and parsing text from the message body (which will be in HTML format). I have old VBScript that will create the appointment items, set them to a...
0
9607
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
10652
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
10395
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...
0
10137
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9211
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7673
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
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...
1
4346
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3874
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.