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

Using CDO in a windows service to read email messages.

Hi ,
Our issue is as follow ...
we have a windows service that works on a timer ,
on eache cycle its logon to a mapi session using a specific profile and
read messages.

1. is this a correct pattern ? that a windows service will use a
profile on the server to logon ?
2. are there any alternatives ? because then the service must run
under a domain user account and not system.
3. we are reading mails in all kinds of UTF8 languages and when we read
the mail .. it shows up as
?????????
any ideas anyone ?
thanks ...

Jan 18 '07 #1
1 4022
A windows service is overkill for a process to run every ? minutes or hours.
Windows contiains a service for this with features and testing far in excess
of your service. You should be writing a small windows/console app and
putting it in the task scheduler.
--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
"al********@gmail.com" wrote:
Hi ,
Our issue is as follow ...
we have a windows service that works on a timer ,
on eache cycle its logon to a mapi session using a specific profile and
read messages.

1. is this a correct pattern ? that a windows service will use a
profile on the server to logon ?
2. are there any alternatives ? because then the service must run
under a domain user account and not system.
3. we are reading mails in all kinds of UTF8 languages and when we read
the mail .. it shows up as
?????????
any ideas anyone ?
thanks ...

Jan 25 '07 #2

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

Similar topics

1
by: Paul | last post by:
I am using a windows service which accesses Microsoft Outlook. Outlook is supposed to send an email. This works fine when not run in a windows service. I am running the service under my user...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
1
by: Artur Kowalski | last post by:
I have a NotifyIcon in my Windows Service project and I am trying to add a ContextMenu to this NotifyIcon or use some of the mouse events. Everything isn't working. I think so base class of the...
4
by: Jacek | last post by:
Hello Is there any function to override in Windows Service to get message from oter application? Something like WinProc in Windows Application. brgds Jacek
14
by: Brian Keating EI9FXB | last post by:
I wonder can anyone reccomment a solution to this problem. Let me explain, I've services running on my system, my application receives diagnostic messages from these services, what i want to do...
14
by: Webbee | last post by:
I have a service built that is trying to read messages from a private que. When this tries to happen I get this error.... A workgroup installation computer does not support the operation From...
6
by: ransoma22 | last post by:
I developing an application that receive SMS from a connected GSM handphone, e.g Siemens M55, Nokia 6230,etc through the data cable. The application(VB.NET) will receive the SMS automatically,...
0
by: Anders K. Olsen | last post by:
Hello group Happy New Year to you all. I'm developing a Windows Service that needs to access the messages stored in a Public Folder in Microsoft Exchange. I have been looking into CDO 1.21,...
0
by: brianbass | last post by:
I am having a perplexing issue and am wondering if anyone can see the flaw in my setup. I have 3 windows services and 3 message queues. Each service resides in the same directory and they all...
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.