<?xml version="1.1" encoding="utf-8"?>
<article xsi:noNamespaceSchemaLocation="http://jats.nlm.nih.gov/publishing/1.1/xsd/JATS-journalpublishing1-mathml3.xsd" dtd-version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><front><journal-meta><journal-id journal-id-type="publisher-id">JERA</journal-id><journal-title-group><journal-title>Journal of Electronic Research and Application</journal-title></journal-title-group><issn>2208-3502</issn><eissn>2208-3510</eissn><publisher><publisher-name>Bio-Byword Scientific Publishing Pty. Ltd.</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.26689/jera.v8i4.7932</article-id><article-categories><subj-group subj-group-type="heading"><subject>Article</subject></subj-group></article-categories><title>A Design of an SMTP Email Server</title><url>https://artdesignp.com/journal/JERA/8/4/10.26689/jera.v8i4.7932</url><author>HuLiheng</author><pub-date pub-type="publication-year"><year>2024</year></pub-date><volume>8</volume><issue>4</issue><history><date date-type="pub"><published-time>2024-08-13</published-time></date></history><abstract>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.</abstract><keywords/></article-meta></front><body/><back><ref-list><ref id="B1" content-type="article"><label>1</label><element-citation publication-type="journal"><p>Sureswaran R, Al Bazar H, Abouabdalla O, et al., 2009, Active E-Mail System SMTP Protocol Monitoring Algorithm. 2009 2nd IEEE International Conference on Broadband Network &amp; Multimedia Technology, 2009: 257–260.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B2" content-type="article"><label>2</label><element-citation publication-type="journal"><p>Dürscheid C, Frehner C, Herring SC, et al., 2013, Email Communication. Handbooks of Pragmatics [HOPS], 2013(9): 35–54.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B3" content-type="article"><label>3</label><element-citation publication-type="journal"><p>Wang D, Irani D, Pu C, 2013, A Study on Evolution of Email Spam Over Fifteen Years. 9th IEEE International Conference on Collaborative Computing: Networking, Applications and Worksharing, 2013: 1–10.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B4" content-type="article"><label>4</label><element-citation publication-type="journal"><p>Email Marketing Market Research Report: Forecast (2023–2028), n.d., viewed June 24, 2024, https://www.marknteladvisors.com/research-library/email-marketing-market.html</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B5" content-type="article"><label>5</label><element-citation publication-type="journal"><p>Chonka A, Xiang Y, Zhou W, et al., 2011, Cloud Security Defence to Protect Cloud Computing Against HTTP-DoS and XML-DoS Attacks. Journal of Network and Computer Applications, 34(4): 1097–1107.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B6" content-type="article"><label>6</label><element-citation publication-type="journal"><p>Foster ID, Larson J, Masich M, et al., 2015, Security by Any Other Name: On the Effectiveness of Provider Based Email Security. Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security, 2015: 450–464.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B7" content-type="article"><label>7</label><element-citation publication-type="journal"><p>Postel JB, 1982, Simple Mail Transfer Protocol. RFC 821.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B8" content-type="article"><label>8</label><element-citation publication-type="journal"><p>LaRoche P, Zincir-Heywood AN, Heywood M, 2011, Exploring the State Space of an Application Protocol: A Case Study of SMTP. 2011 IEEE Symposium on Computational Intelligence in Cyber Security (CICS), 2011: 152–159.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B9" content-type="article"><label>9</label><element-citation publication-type="journal"><p>Naik N, 2017, Choice of Effective Messaging Protocols for IoT Systems: MQTT, CoAP, AMQP and HTTP. 2017 IEEE International Systems Engineering Symposium (ISSE), 2017: 1–7.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B10" content-type="article"><label>10</label><element-citation publication-type="journal"><p>Boogerd C, Moonen L, 2008, Assessing the Value of Coding Standards: An Empirical Study. 2008 IEEE International Conference on Software Maintenance, 2008: 277–286.</p><pub-id pub-id-type="doi"/></element-citation></ref></ref-list></back></article>
