{"id":147352,"date":"2018-10-15T11:47:38","date_gmt":"2018-10-15T11:47:38","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=147352"},"modified":"2018-10-18T04:52:18","modified_gmt":"2018-10-18T04:52:18","slug":"what-is-smtp-and-working-of-the-smtp","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/","title":{"rendered":"What is SMTP and Working of the SMTP"},"content":{"rendered":"<p>This is blog is written to understand the working of the SMTP(Simple Mail Transfer Protocol) which is a\u00a0TCP\/IP\u00a0protocol\u00a0used in sending and receiving e-mail.<\/p>\n<h2>SMTP Fundamentals<\/h2>\n<p>SMTP is an application layer protocol. The client who wants to send the mail opens a TCP connection to the SMTP server and then sends the mail across the connection. The SMTP server is always on listening mode. As soon as it listens for a TCP connection from any client, the SMTP process initiates a connection on that port (25). After successfully establishing the TCP connection the client process sends the mail instantly.<\/p>\n<h2>SMTP Protocol<\/h2>\n<p>The SMTP model is of two type :<\/p>\n<p>End-to-end method<br \/>\nStore-and-forward method<\/p>\n<p>The end to end model is used to communicate between different organizations whereas the store and forward method are used within an organization. An SMTP client who wants to send the mail will contact the destination\u2019s host SMTP directly in order to send the mail to the destination. The SMTP server will keep the mail to itself until it is successfully copied to the receiver\u2019s SMTP.<br \/>\nThe client SMTP is the one which initiates the session let us call it as the client- SMTP and the server SMTP is the one which response to the session request and let us call it as receiver-SMTP. The client- SMTP will start the session and the receiver-SMTP will respond to the request.<\/p>\n<h2>Model of SMTP system<\/h2>\n<p>In the SMTP model user deals with the user agent (UA) for example Microsoft Outlook, Netscape, Mozilla etc. In order to exchange the mail using TCP, MTA is used. The users sending the mail do not have to deal with the MTA it is the responsibility of the system admin to set up the local MTA. The MTA maintains a small queue of emails so that it can schedule repeat delivery of mail in case the receiver is not available. The MTA delivers the mail to the mailboxes and the information can later be downloaded by the user agents.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png\" loading=\"lazy\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Both the SMTP-client and SMTP-server should have 2 components:<\/p>\n<p>1.User agent (UA)<br \/>\n2.Local MTA<\/p>\n<p>Communication between the sender and the receiver :<br \/>\nThe senders, user agent prepare the message and send it to the MTA. The MTA functioning is to transfer the mail across the network to the receivers MTA.<\/p>\n<h2>SENDING EMAIL:<\/h2>\n<p>Mail is sent by a series of request and response messages between the client and a server. The message which is sent across consists of a header and the body. A null line is used to terminate the mail header. Everything which is after the null line is considered a body of the message which is a sequence of ASCII characters. The message body contains the actual information read by the receipt.<\/p>\n<h2>RECEIVING EMAIL:<\/h2>\n<p>The user agent at the server side checks the mailboxes at a particular time of intervals. If any information is received it informs the user about the mail. When a user tries to read the mail it displays a list of emails with a short description of each mail in the mailbox. By selecting any of the mail user can view its contents on the terminal.<\/p>\n<p>SMTP is one of the most widely used and implemented an application. With the explosively growing reliance on electronic mail for commercial and personal services, there grows the demand for authentication and confidentiality. To complement the weak security feature of SMTP industry use PGP-SMIME-PEM. Still, there is a need of implementing the measures to eliminate spam and other security breaches.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is blog is written to understand the working of the SMTP(Simple Mail Transfer Protocol) which is a\u00a0TCP\/IP\u00a0protocol\u00a0used in sending and receiving e-mail. SMTP Fundamentals SMTP is an application layer protocol. The client who wants to send the mail opens a TCP connection to the SMTP server and then sends the mail across the connection. <a href=\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":226,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1620],"tags":[],"class_list":["post-147352","post","type-post","status-publish","format-standard","hentry","category-google"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is SMTP and Working of the SMTP - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is SMTP and Working of the SMTP - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"This is blog is written to understand the working of the SMTP(Simple Mail Transfer Protocol) which is a\u00a0TCP\/IP\u00a0protocol\u00a0used in sending and receiving e-mail. SMTP Fundamentals SMTP is an application layer protocol. The client who wants to send the mail opens a TCP connection to the SMTP server and then sends the mail across the connection. [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-15T11:47:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-18T04:52:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png\" \/>\n<meta name=\"author\" content=\"Arun Kumar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Arun Kumar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/\"},\"author\":{\"name\":\"Arun Kumar\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/880586fc1e4703d9e951d86655682ffd\"},\"headline\":\"What is SMTP and Working of the SMTP\",\"datePublished\":\"2018-10-15T11:47:38+00:00\",\"dateModified\":\"2018-10-18T04:52:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/\"},\"wordCount\":598,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png\",\"articleSection\":[\"Google\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/\",\"url\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/\",\"name\":\"What is SMTP and Working of the SMTP - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png\",\"datePublished\":\"2018-10-15T11:47:38+00:00\",\"dateModified\":\"2018-10-18T04:52:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png\",\"width\":734,\"height\":353},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is SMTP and Working of the SMTP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/880586fc1e4703d9e951d86655682ffd\",\"name\":\"Arun Kumar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/22744c127478ae0d9d9efb702c1379e4ae8c5538423ba70bb9a37dfeb92861c9?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/22744c127478ae0d9d9efb702c1379e4ae8c5538423ba70bb9a37dfeb92861c9?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Arun Kumar\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/arun-kumar350\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is SMTP and Working of the SMTP - Webkul Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/","og_locale":"en_US","og_type":"article","og_title":"What is SMTP and Working of the SMTP - Webkul Blog","og_description":"This is blog is written to understand the working of the SMTP(Simple Mail Transfer Protocol) which is a\u00a0TCP\/IP\u00a0protocol\u00a0used in sending and receiving e-mail. SMTP Fundamentals SMTP is an application layer protocol. The client who wants to send the mail opens a TCP connection to the SMTP server and then sends the mail across the connection. [...]","og_url":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2018-10-15T11:47:38+00:00","article_modified_time":"2018-10-18T04:52:18+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png","type":"","width":"","height":""}],"author":"Arun Kumar","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Arun Kumar","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/"},"author":{"name":"Arun Kumar","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/880586fc1e4703d9e951d86655682ffd"},"headline":"What is SMTP and Working of the SMTP","datePublished":"2018-10-15T11:47:38+00:00","dateModified":"2018-10-18T04:52:18+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/"},"wordCount":598,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png","articleSection":["Google"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/","url":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/","name":"What is SMTP and Working of the SMTP - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png","datePublished":"2018-10-15T11:47:38+00:00","dateModified":"2018-10-18T04:52:18+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2018\/10\/Blog-image.png","width":734,"height":353},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/what-is-smtp-and-working-of-the-smtp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What is SMTP and Working of the SMTP"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/880586fc1e4703d9e951d86655682ffd","name":"Arun Kumar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/22744c127478ae0d9d9efb702c1379e4ae8c5538423ba70bb9a37dfeb92861c9?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/22744c127478ae0d9d9efb702c1379e4ae8c5538423ba70bb9a37dfeb92861c9?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Arun Kumar"},"url":"https:\/\/webkul.com\/blog\/author\/arun-kumar350\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/147352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/226"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=147352"}],"version-history":[{"count":7,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/147352\/revisions"}],"predecessor-version":[{"id":148233,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/147352\/revisions\/148233"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=147352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=147352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=147352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}