I have an application where I need to check emails as they come, however using POP3 to poll an email server is a major pain.
Ideally I'd just like to setup an email server and write a plugin for it to handle some sort of EmailReceived event, that contains all the headers and content of the e-mails received.
I'm not looking to create an email server from scratch, however if there is a decent open source one written in .NET I can just modify to do this that would be just as good.
Preferably though I'd rather just write a plugin for a server that has an API for something like this.
Does anyone know of an email server that runs on Windows and supports plugins and has an API, or at the least, is open source in .NET to allow extending it myself?