Solved

TServiceApplication and MAPI.

Posted on 2002-04-09
3
147 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month4 days, 5 hours left to enroll

630 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