Integrate an E-Mail server into ASP.NET <p>I've a general design question:<br /> <br /> I have a mailserver, written in C#.<br /> Then I have a web forum software, written in for ASP.NET in C#.<br /> <br /> Now I'd like to integrate the mailserver into the ASP.NET forum application. For example, I'd like to make it possible that one can create a mailinglist from the forum, and give users the oportunity to add oneselfs to the mailinglist members in the forum, and then add the new list-members to the respective mailinglist on the server.</p> <p>Since the server is a separate console/winforms/service application, I first thought I'd best use .NET remoting for this.</p> <p>But my second thought was, that some users might host their forum on a host where <br /> (a) they don't have a virtual machine where they can do what they want<br /> (b) the admin of the host might not want to install an additional mailserver or charge extra for this<br /> (c) the user might have a service plan that only permits to add a web-application, not external programs (very likely)<br /> <br /><br /> Now, I wanted to ask:<br /> Is it possible to fully integrate a mailserver into an ASP.NET application somehow ? (I have the full source of the server + ASP.NET application)</p> <p>Well, it probably won't be a page or a ashx handler, but something like a http module ? Or what's the general way to integrate TCP/IP applications into asp.net ? (Of course I'm assuming the respecive ports are available/forwarded - and I'll make it possible to also run it with the e-mail server as external application)</p>