Solved

TServiceApplication and MAPI.

Posted on 2002-04-09
3
142 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

821 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