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?
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