Solved

TServiceApplication and MAPI.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

861 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

24 Experts available now in Live!

Get 1:1 Help Now