SMTP from a windows service

Giganews Newsgroups
Subject: SMTP from a windows service
Posted by:  Charles Wright (cncsoftwa…@starband.net)
Date: Sun, 14 Dec 2003

I have an application that monitors certain processes running on a server.
It needs to send emails when certain conditions are met.  I am trying to use
the TidSMTP and TidMessage to send the mails.  I am getting nothing sent.  I
wrote a small windows application, and it can send.  I copied the code into
a windows service and it won't send.

What am I missing?

Thanks for your time.

Replies