Sending Email from a windows service

R

Roger Twomey

I am trying to write a service that will send an email when certain events
occur.

It would seem that I should use the System.Web.Mail to send SMTP mail,
however when I try to import System.Web.Mail into my Service it shows as an
error in my Visual Studio.
(Namespace or type 'Mail' for the Imports System.Web.Mail cannot be found.)

I can import this into my web apps. SMTP is running on my development
machine.

Am I trying to do the impossible? Is there another way to send email from a
service?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top