Ability to receive inbound SMTP emails - possible? RRS feed

  • Question

  • I see classes in the System.Net.Mail namespace for sending outbound email (SmtpClient).  However I'd like to be able to receive an SMTP email.  Is there a class and/or sample code that shows how to build a managed Windows service to listen for incoming emails on port 25?  My objective is basically the ability to grab an incoming email and stuff it into my database.  Kind of my own light SMTP server with custom processing.  Thanks.
    Thursday, September 15, 2011 3:23 PM