是否可以在ASP.NET中创建邮件服务器 [英] Is it possible to create a Mail Server in ASP.NET

查看:48
本文介绍了是否可以在ASP.NET中创建邮件服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如我的主题所暗示的那样,我真的很想知道是否有可能在ASP.NET中制作邮件服务器,并且代码版本将在C#中?

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#?

推荐答案

如果您仔细阅读邮件服务器的功能,那么您就会明白,这个问题并不是很有意义.至少您需要实现SMTP服务器(包括SMTP中继),并考虑添加对POP3或IMAP的支持(尽管如果您只想提供Web界面,则这些是可选的). SMTP实现将使用套接字(可以使用C#完成).您可以在ASP.NET中创建Web界面,但这只是邮件服务器的前端.
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.


我猜测这是可能的,但事实并非如此.不可取.该产品需要几年的时间才能发展到现在的独立邮件服务器.此外,将邮件服务器与Web服务器放置在同一台计算机上通常被认为是一个坏主意,因为如果一个或另一个真的很忙,可能会降低另一个服务器的性能,以至于它们都不是很有用. br/>
我的建议是寻找另一种解决方案.
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.


这篇关于是否可以在ASP.NET中创建邮件服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆