I need to receive email and parse and act on the contents programatically.
I've done this before by setting up a postfix server and piping the incoming mail to a php script that handles this.
That would be overkill though for a new project i'm working on.
I'm hoping someone knows of a library or existing utility that would listen for incomming email and then allow me to pipe it or run some .net code on the contents of the message.
This doesn't need to be a fully functional smtp client/server. It just needs to be able to handle a specific email from a specific address with a specific format. I can take care of all that, I just need to get access to the email contents. Server environment is win 2008, .net 4
Fully functional c# coded mail server with source: http://www.codeproject.com/KB/vista/SMTP_POP3_IMAP_server.aspx
Latest in: http://www.lumisoft.ee/lsWWW/download/downloads/
You can write message filter for it or implement own server using SMTP server component.
Have a look at http://ndumbster.sourceforge.net/default.html. This is the complete source code for a fake smtp server. Hack your code right in.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With