Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

TServiceApplication and MAPI.

Posted on 2002-04-09
3
Medium Priority
?
151 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 200 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

971 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