Solved

TServiceApplication and MAPI.

Posted on 2002-04-09
3
139 Views
Last Modified: 2010-04-04
Hi.

I've just finished converting a System Tray application to a service and it works great.  The only problem I have is that I do not seem to be able to send emails from the service.

Can anyone advise me on this please?

Thanks,

John.
0
Comment
Question by:Jaymol
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
raidos earned 50 total points
ID: 6928129
As long as your running the service as a user, that has his outlook account set up there should be no problem...

if you run it as SYSTEM then you will have to impersonate some user that has mail set up correctly, since SYSTEM does not have any mail preferences...i guess.. =)

Regards
//raidos
0
 
LVL 6

Author Comment

by:Jaymol
ID: 6928146
Okay, thanks.  I'll try it and let you know.

John.
0
 
LVL 6

Author Comment

by:Jaymol
ID: 6928202
Correctamundo.

Cheers big ears.

John.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now