title: asp.net or windows service that listen to if you get a Email
body: <p>I am trying to make a program that will listen to if I recieve a E-mail I got a smtp server and so on.
  I want to make a database object with Title and text from the Mail and I might want to evolve it into also saving the attacted file to the database so I can use it it my asp.net program.</p>
  
  <p>I think I need a windows Service that will be listening to the email if it gets a email it will add it to datbase and wait again but I am not sure how to do that. if its possible to program that into my asp.net project then it would be a good thing also</p>
  
  <p>Here is a small design on how I was thinking about it</p>
  
  <p><img src="https://i.stack.imgur.com/vfchC.jpg" alt="The Image of how I was seeing the process to be done"></p>
  
  <p>if you know anything about it feel free to come up with any kind of solutions for me.</p>