Can't send mail when starting as service

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Bilbo
Posts: 2
Joined: Mon Jul 29, 2002 6:00 pm
Location: Sweden
Contact:

Post by Bilbo »

When I run HM as a service it won't send mail anymore. I have specified a user to login with to the SMTP server and I have also assigned the same user account on the Service page in the Options dialog, but it still doesn't work. What am I doing wrong?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Probably you have specified wrong account on Service page in the Options dialog. There you should specify account that exists on local machine, not account on remote SMTP server. HostMonitor uses accound specified on Service page to impersonate the security context of the user.
Also you can check log from popup window that sends mail to SMTP server and check the system log (specified on Advanced Logs page in the Options dialog). HostMonitor records information about failed actions.

Regards
Alex
Bilbo
Posts: 2
Joined: Mon Jul 29, 2002 6:00 pm
Location: Sweden
Contact:

Post by Bilbo »

I solved my problem and it wasn't that complicated (easy to say when you now know whats wrong). It had nothing to do with the accounts that I used.
The computer I run HM on doesn't have a mail account therefore I wrote the computer name instead in the FROM field (Action profiles --> Mail) and thats the reason to I couldn't send mail.

Regards
Locked