0

I have the requirements to build a service that will

Read a notification from a text file in a folder (key)

Look up in a cross reference table which phone is assigned to the key read

Send an email or text msg to the phone the phone assigned

I have don C# .net applications but not really familiar with Services. Can someone help with would be the logic and the best way of implementing this?

user959443
  • 97
  • 6
  • 14

1 Answers1

0

You need to write a Windows Service to achieve this task and to read the folder you could use the FileSystemWatcher and it's event's, email sending is lot easier then this two. :)

Simple Windows Service Example

FileSystemWatcher

SMTPClient

Email Sending using Gmail

Community
  • 1
  • 1
BigL
  • 1,631
  • 1
  • 11
  • 10
  • You are welcome, i wrote something like that before i hope the links will help you too. :) – BigL Oct 24 '11 at 15:03