Click here to Skip to main content
15,867,834 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
As my subject suggests I am really curious to know whether it is possible to make a Mail Server in ASP.NET and the code version will be in C#?
Posted

If you read up on what exactly a mail server does, then you'd understand that this question does not really make full sense. At the very least you'd need to implement an SMTP server (including SMTP relay), and also consider adding support for POP3 or IMAP (although those are optional if you just want to provide a web interface). The SMTP implementation will be using sockets (which can be done with C#). You can do the web interface in ASP.NET but that's just a front end to the mail server.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 7-Feb-11 11:30am    
Agree, my 5.
I think very formally the question itself makes some sense, but indicates than OP probably does not understand the notion or the role of "Mail Server" or ASP.NET, or both, as if HTTP Server hosting ASP could help to implement SMTP somehow, which is not the case. Or OP confuses server with its front-end. Your answer does not explain those concepts but points out where the confusion might be, which is enough.
--SA
GenJerDan 7-Feb-11 15:44pm    
". . .as if HTTP Server hosting ASP could help to implement SMTP somehow, which is not the case."

ASP implies IIS, which does have a built-in SMTP server, if you chose to turn it on.
Sergey Alexandrovich Kryukov 7-Feb-11 21:51pm    
Oh... I agree, that's part is my mistake.
Thank you for your note.
--SA
Espen Harlinn 7-Feb-11 14:46pm    
Good answer :)
Nish Nishant 7-Feb-11 14:47pm    
Thanks Espen and Kryukov.
I'm guessing that it's possible, but it wouldn't be advisable. It would take YEARS for the product to mature to the point that standalone mail servers are now. Besides, putting a mail server on the same machine as a web server is generally considered to be a bad idea because if one or the other is really busy, it could degrade the performance of the other to the point that neither is very useful.

My advice is to look for another solution.
 
Share this answer
 
Comments
Madhumanti Das 8-Feb-11 11:41am    
Hey there thnx for your suggestion I know I have to implement SMTP and POP by code tiz jus I have got many negative answers that it will be impossible to create it by ASP.NET that's why asked it.
Thnx anyway.
Madhumanti Das 8-Feb-11 11:48am    
Suggest a good project subject on ASP.NET.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900