This study developed a mail server program using Socket API and Python.The program uses the Hypertext Transfer Protocol(HTTP)to receive emails from browser clients and forward them to actual email service providers vi...This study developed a mail server program using Socket API and Python.The program uses the Hypertext Transfer Protocol(HTTP)to receive emails from browser clients and forward them to actual email service providers via the Simple Mail Transfer Protocol(SMTP).As a web server,it handles Transmission Control Protocol(TCP)connection requests from browsers,receives HTTP commands and email data,and temporarily stores the emails in a file.Simultaneously,as an SMTP client,the program establishes a TCP connection with the actual mail server,sends SMTP commands,and transmits the previously saved emails.In addition,we also analyzed security issues and the efficiency and availability of this server,providing insights into the design of SMTP mail servers.展开更多
针对现有SMTP(simple mail transfer protocol)中接收方被动接收信息的缺点,设计一种新型反垃圾邮件系统。该系统通过设计改进型DMTP(differentiated mail transfer protocol),减少不必要的网络流量;通过引入云计算机制,减小传统反垃圾...针对现有SMTP(simple mail transfer protocol)中接收方被动接收信息的缺点,设计一种新型反垃圾邮件系统。该系统通过设计改进型DMTP(differentiated mail transfer protocol),减少不必要的网络流量;通过引入云计算机制,减小传统反垃圾邮件系统负荷,从而降低用户时间消耗。研究结果表明:与现有邮件系统相比,该系统的用户处理时间、网络流量、垃圾邮件发送方获益均降低。展开更多
文摘This study developed a mail server program using Socket API and Python.The program uses the Hypertext Transfer Protocol(HTTP)to receive emails from browser clients and forward them to actual email service providers via the Simple Mail Transfer Protocol(SMTP).As a web server,it handles Transmission Control Protocol(TCP)connection requests from browsers,receives HTTP commands and email data,and temporarily stores the emails in a file.Simultaneously,as an SMTP client,the program establishes a TCP connection with the actual mail server,sends SMTP commands,and transmits the previously saved emails.In addition,we also analyzed security issues and the efficiency and availability of this server,providing insights into the design of SMTP mail servers.
文摘针对现有SMTP(simple mail transfer protocol)中接收方被动接收信息的缺点,设计一种新型反垃圾邮件系统。该系统通过设计改进型DMTP(differentiated mail transfer protocol),减少不必要的网络流量;通过引入云计算机制,减小传统反垃圾邮件系统负荷,从而降低用户时间消耗。研究结果表明:与现有邮件系统相比,该系统的用户处理时间、网络流量、垃圾邮件发送方获益均降低。