{"id":82318,"date":"2024-10-08T20:08:07","date_gmt":"2024-10-08T20:08:07","guid":{"rendered":"https:\/\/mailrelay.com\/glosario\/smtp-port\/"},"modified":"2026-10-06T22:05:42","modified_gmt":"2026-10-06T22:05:42","slug":"smtp-port","status":"publish","type":"glossary","link":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/","title":{"rendered":"SMTP port"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>An SMTP port is the connection number a program uses to send email to a server with the SMTP protocol.<\/strong>  The most common ones are 25, 465, 587 and 2525.<\/p>\n\n<p class=\"wp-block-paragraph\">Think of an office building. The server address is the street and number; the port is the specific door you walk through. If you pick a locked door, the email doesn&#8217;t go out.<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>To send email from a website, an app or an email client, use 587 or 465.<\/strong>  Port 25 is reserved for communication between servers.<\/p>\n\n<h2 class=\"wp-block-heading\">What is an SMTP port?<\/h2>\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/mailrelay.com\/en\/glossary\/smtp\/\" target=\"_blank\" rel=\"noopener\">SMTP<\/a> is the protocol email uses to travel across the internet. Each server listens on one or more ports, and your app has to connect to the right one.<\/p>\n\n<p class=\"wp-block-paragraph\">The port also determines how the connection is protected. Some encrypt from the start, others encrypt after greeting the server, and some can work without encryption.<\/p>\n\n<p class=\"wp-block-paragraph\">That&#8217;s why, when you set up a WordPress plugin, a CRM or an email client, you&#8217;ll always be asked for four details: server, port, username and password.<\/p>\n\n<h2 class=\"wp-block-heading\">What are the SMTP ports and what is each one for?<\/h2>\n\n<p class=\"wp-block-paragraph\">These are the four you&#8217;ll come across:<\/p>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Port<\/th><th>Encryption<\/th><th>What it&#8217;s used for<\/th><th>Is it usually blocked?<\/th><\/tr><\/thead><tbody><tr><td>25<\/td><td>Optional (STARTTLS)<\/td><td>Sending between mail servers<\/td><td>Yes, on many home networks and in the cloud<\/td><\/tr><tr><td>465<\/td><td>TLS from the start (SMTPS)<\/td><td>Sending from apps and email clients<\/td><td>No<\/td><\/tr><tr><td>587<\/td><td>STARTTLS<\/td><td>Sending from apps and email clients<\/td><td>No<\/td><\/tr><tr><td>2525<\/td><td>STARTTLS or TLS<\/td><td>Alternative when 587 is blocked<\/td><td>No, but not every provider offers it<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-1024x576.png\" alt=\"The 4 SMTP ports: 25 between servers, 465 SSL\/TLS, 587 STARTTLS and 2525 as an alternative\" class=\"wp-image-98943\" srcset=\"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-1024x576.png 1024w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-300x169.png 300w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-768x432.png 768w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-1536x864.png 1536w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-110x62.png 110w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-60x34.png 60w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525.png 1672w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<h3 class=\"wp-block-heading\">Port 25<\/h3>\n\n<p class=\"wp-block-paragraph\">It&#8217;s the original SMTP port, from 1982. Today servers use it to deliver email to each other.<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Many internet and cloud providers block it to curb spam<\/strong> sent from infected machines. If your app can&#8217;t send through port 25, this is almost always why.<\/p>\n\n<h3 class=\"wp-block-heading\">Port 465<\/h3>\n\n<p class=\"wp-block-paragraph\">It encrypts the connection with TLS from the very first moment. It was deprecated in 1998, but RFC 8314 (2018) brought it back as a recommended option for sending email.<\/p>\n\n<p class=\"wp-block-paragraph\">It&#8217;s a good choice if your provider supports it and your program lets you choose &#8220;SSL\/TLS&#8221;.<\/p>\n\n<h3 class=\"wp-block-heading\">Port 587<\/h3>\n\n<p class=\"wp-block-paragraph\">It has been the standard submission port since 1998. The connection starts unencrypted and switches to encrypted with the STARTTLS command.<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>It&#8217;s the one almost every provider supports<\/strong>, so it&#8217;s the safest bet if you don&#8217;t want to get it wrong.<\/p>\n\n<h3 class=\"wp-block-heading\">Port 2525<\/h3>\n\n<p class=\"wp-block-paragraph\">It isn&#8217;t an official port, but many SMTP services offer it as an alternative. It comes in handy when your network or your hosting blocks 25 and 587.<\/p>\n\n<h2 class=\"wp-block-heading\">Which SMTP port should I use?<\/h2>\n\n<p class=\"wp-block-paragraph\"><strong>Use 587 with STARTTLS or 465 with SSL\/TLS.<\/strong>  Both encrypt the sending and require a username and password.<\/p>\n\n<p class=\"wp-block-paragraph\">Choose based on what your provider asks for:<\/p>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Situation<\/th><th>Recommended port<\/th><\/tr><\/thead><tbody><tr><td>You&#8217;re setting up a website, a CRM or an app<\/td><td>587 (or 465)<\/td><\/tr><tr><td>Your program only offers &#8220;SSL\/TLS&#8221;<\/td><td>465<\/td><\/tr><tr><td>Your network blocks 587<\/td><td>2525, if the provider offers it<\/td><\/tr><tr><td>You run your own mail server that delivers to other servers<\/td><td>25<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<p class=\"wp-block-paragraph\">Avoid sending without encryption. Besides exposing your password, many providers no longer accept connections without TLS.<\/p>\n\n<h2 class=\"wp-block-heading\">SMTP server and port for Gmail, Outlook and other providers<\/h2>\n\n<p class=\"wp-block-paragraph\">These are the settings for the most common providers:<\/p>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Provider<\/th><th>SMTP server<\/th><th>Port<\/th><th>Encryption<\/th><\/tr><\/thead><tbody><tr><td>Gmail<\/td><td>smtp.gmail.com<\/td><td>465 or 587<\/td><td>SSL\/TLS or STARTTLS<\/td><\/tr><tr><td>Outlook.com and Hotmail<\/td><td>smtp-mail.outlook.com<\/td><td>587<\/td><td>STARTTLS<\/td><\/tr><tr><td>Microsoft 365<\/td><td>smtp.office365.com<\/td><td>587<\/td><td>STARTTLS<\/td><\/tr><tr><td>Yahoo Mail<\/td><td>smtp.mail.yahoo.com<\/td><td>465 or 587<\/td><td>SSL\/TLS or STARTTLS<\/td><\/tr><tr><td>Mailrelay<\/td><td>smtp1.s.ipzmarketing.com<\/td><td>587<\/td><td>STARTTLS<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>Watch out for passwords.<\/strong>  Gmail and Microsoft are phasing out regular passwords in third-party apps: they&#8217;ll ask you for an app password or for signing in with your account (OAuth).<\/p>\n\n<p class=\"wp-block-paragraph\">These servers have daily limits for sending in volume. A professional <a href=\"https:\/\/mailrelay.com\/en\/glossary\/smtp-services\/\" target=\"_blank\" rel=\"noopener\">SMTP service<\/a> is built for that.<\/p>\n\n<div class=\"wp-block-group has-very-light-gray-background-color has-background\" style=\"border-radius:8px;padding-top:24px;padding-right:28px;padding-bottom:24px;padding-left:28px\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Send your website and store emails with Mailrelay<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Connect your website via SMTP or API and track deliveries, opens, clicks and bounces in real time. Try it free for 30 days.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-mailrelay-primary-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/mailrelay.com\/en\/signup\/?utm_medium=cta&amp;utm_campaign=puerto-smtp\">Try SMTP for free<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n<h2 class=\"wp-block-heading\">SMTP, IMAP and POP3 ports<\/h2>\n\n<p class=\"wp-block-paragraph\"><strong>SMTP is only for sending.<\/strong> To receive email in your program, <a href=\"https:\/\/mailrelay.com\/en\/glossary\/imap\/\" target=\"_blank\" rel=\"noopener\">IMAP<\/a> or <a href=\"https:\/\/mailrelay.com\/en\/glossary\/pop3\/\" target=\"_blank\" rel=\"noopener\">POP3<\/a> are used, each with its own ports:<\/p>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Protocol<\/th><th>What it&#8217;s for<\/th><th>Encrypted port<\/th><th>Unencrypted port<\/th><\/tr><\/thead><tbody><tr><td>SMTP<\/td><td>Send<\/td><td>465 or 587<\/td><td>25<\/td><\/tr><tr><td>IMAP<\/td><td>Read and sync the mailbox<\/td><td>993<\/td><td>143<\/td><\/tr><tr><td>POP3<\/td><td>Download email<\/td><td>995<\/td><td>110<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<p class=\"wp-block-paragraph\">If your program receives but doesn&#8217;t send, the problem is almost never IMAP or POP3: check the SMTP server and port.<\/p>\n\n<h2 class=\"wp-block-heading\">How to tell if an SMTP port is blocked<\/h2>\n\n<p class=\"wp-block-paragraph\">If the app gets stuck &#8220;connecting&#8221; and ends with a timeout error, try this:<\/p>\n\n<ol class=\"wp-block-list\">\n<li><strong>Switch ports.<\/strong>  If 587 fails, try 465 or 2525.<\/li>\n\n\n\n<li><strong>Try from another network.<\/strong>  If it works on mobile data, the block is on your network or your hosting.<\/li>\n\n\n\n<li><strong>Check the connection.<\/strong> In the terminal, <strong>telnet server 587<\/strong> should reply with a greeting that starts with 220.<\/li>\n\n\n\n<li><strong>Ask your provider.<\/strong>  Some hosting and cloud services only open 25 or 587 if you ask.<\/li>\n<\/ol>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puerto-smtp-bloqueado-comprobaciones-1024x576.png\" alt=\"What to do if an SMTP port is blocked: switch ports, try another network, check the connection and ask your provider\" class=\"wp-image-98946\" srcset=\"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puerto-smtp-bloqueado-comprobaciones-1024x576.png 1024w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puerto-smtp-bloqueado-comprobaciones-300x169.png 300w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puerto-smtp-bloqueado-comprobaciones-768x432.png 768w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puerto-smtp-bloqueado-comprobaciones-1536x864.png 1536w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puerto-smtp-bloqueado-comprobaciones-110x62.png 110w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puerto-smtp-bloqueado-comprobaciones-60x34.png 60w, https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puerto-smtp-bloqueado-comprobaciones.png 1672w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<h2 class=\"wp-block-heading\">Common mistakes when setting up the SMTP port<\/h2>\n\n<p class=\"wp-block-paragraph\"><strong>The most common one is mixing up port and encryption:<\/strong> 465 with STARTTLS or 587 with SSL. The connection fails even though the details are correct.<\/p>\n\n<p class=\"wp-block-paragraph\">Other common mistakes are using port 25 from a website or an app and mistyping the server. It also often happens that people use their email password when the provider asks for an app password.<\/p>\n\n<p class=\"wp-block-paragraph\">And remember that the port alone isn&#8217;t enough to reach the inbox. <a href=\"https:\/\/mailrelay.com\/en\/glossary\/deliverability-in-email-marketing\/\" target=\"_blank\" rel=\"noopener\">Deliverability<\/a> also depends on authenticating your domain with <a href=\"https:\/\/mailrelay.com\/en\/glossary\/spf-sender-policy-framework\/\" target=\"_blank\" rel=\"noopener\">SPF<\/a>, <a href=\"https:\/\/mailrelay.com\/en\/glossary\/dkim-domainkeys-identified-mail\/\" target=\"_blank\" rel=\"noopener\">DKIM<\/a> and <a href=\"https:\/\/mailrelay.com\/en\/glossary\/dmarc\/\" target=\"_blank\" rel=\"noopener\">DMARC<\/a>.<\/p>\n\n<h2 class=\"wp-block-heading\">Mailrelay&#8217;s SMTP port<\/h2>\n\n<p class=\"wp-block-paragraph\">If you use <a href=\"https:\/\/mailrelay.com\/en\/\" target=\"_blank\" rel=\"noopener\">Mailrelay<\/a> for your <a href=\"https:\/\/mailrelay.com\/en\/transactional-emails\/\" target=\"_blank\" rel=\"noopener\">transactional emails<\/a>, connect your app to the server smtp1.s.ipzmarketing.com on port 587. You&#8217;ll find the username and password in your account.<\/p>\n\n<p class=\"wp-block-paragraph\">Also set up authentication with the <a href=\"https:\/\/mailrelay.com\/en\/glossary\/sending-domain\/\" target=\"_blank\" rel=\"noopener\">sending domain<\/a> guide. That way your emails go out signed with your domain and you&#8217;ll see deliveries, opens, clicks and bounces in real time.<\/p>\n\n<p class=\"wp-block-paragraph\">SMTP is included in the Standard and Enterprise plans. On the free account you can try it for 30 days and then add it for \u20ac14.95 a month. And if something won&#8217;t connect, support will help you via chat, ticket or phone.<\/p>\n\n<div class=\"wp-block-group has-very-light-gray-background-color has-background\" style=\"border-radius:8px;padding-top:24px;padding-right:28px;padding-bottom:24px;padding-left:28px\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>An SMTP service with real support<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SMTP and API included in Standard and Enterprise, with chat, ticket and phone support on every plan.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-mailrelay-primary-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/mailrelay.com\/en\/signup\/?utm_medium=cta&amp;utm_campaign=puerto-smtp\">Create a free account<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n<h2 class=\"wp-block-heading\">Frequently asked questions about the SMTP port<\/h2>\n\n<p class=\"wp-block-paragraph\">These are the most common questions.<\/p>\n\n<h3 class=\"wp-block-heading\">What is port 587?<\/h3>\n\n<p class=\"wp-block-paragraph\">It&#8217;s the standard port for sending email from an app or an email client. It uses STARTTLS to encrypt the connection and requires a username and password.<\/p>\n\n<h3 class=\"wp-block-heading\">Is port 465 or 587 better?<\/h3>\n\n<p class=\"wp-block-paragraph\">Both are secure. Port 465 encrypts from the start and 587 encrypts with STARTTLS. Use the one your provider tells you to; if it supports both, either will do.<\/p>\n\n<h3 class=\"wp-block-heading\">What is port 25 used for?<\/h3>\n\n<p class=\"wp-block-paragraph\">For mail servers to deliver messages to each other. Don&#8217;t use it to send from a website or an app: it&#8217;s usually blocked.<\/p>\n\n<h3 class=\"wp-block-heading\">Which SMTP port uses SSL?<\/h3>\n\n<p class=\"wp-block-paragraph\">Port 465. It&#8217;s the SMTP over SSL\/TLS port, also called SMTPS, and it encrypts the connection from the very first moment.<\/p>\n\n<h3 class=\"wp-block-heading\">What is Gmail&#8217;s SMTP port?<\/h3>\n\n<p class=\"wp-block-paragraph\">The server is smtp.gmail.com, with port 465 (SSL\/TLS) or 587 (STARTTLS). You&#8217;ll need an app password if your account has 2-Step Verification turned on.<\/p>\n\n<h2 class=\"wp-block-heading\">Related entries<\/h2>\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/smtp\/\">SMTP<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/smtp-services\/\">SMTP service<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/relay-mail\/\">Relay mail<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/imap\/\">IMAP<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/pop3\/\">POP3<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/email-authentication\/\">Email Authentication<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/sending-domain\/\">Sending domain<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/transactional-email\/\">Transactional email<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mailrelay.com\/en\/glossary\/deliverability-in-email-marketing\/\">Deliverability<\/a><\/li>\n<\/ul>\n","protected":false},"template":"","class_list":["post-82318","glossary","type-glossary","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SMTP port: which one to use (25, 465, 587 or 2525)<\/title>\n<meta name=\"description\" content=\"What an SMTP port is, what ports 25, 465, 587 and 2525 are for, which one to use to send email securely, and the settings for Gmail, Outlook and Mailrelay.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SMTP port: which one to use (25, 465, 587 or 2525)\" \/>\n<meta property=\"og:description\" content=\"What an SMTP port is, what ports 25, 465, 587 and 2525 are for, which one to use to send email securely, and the settings for Gmail, Outlook and Mailrelay.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/\" \/>\n<meta property=\"og:site_name\" content=\"Mailrelay\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Mailrelay\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-06T22:05:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1672\" \/>\n\t<meta property=\"og:image:height\" content=\"941\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@mailrelay\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/smtp-port\\\/\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/smtp-port\\\/\",\"name\":\"SMTP port: which one to use (25, 465, 587 or 2525)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/smtp-port\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/smtp-port\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/puertos-smtp-25-465-587-2525-1024x576.png\",\"datePublished\":\"2024-10-08T20:08:07+00:00\",\"dateModified\":\"2026-10-06T22:05:42+00:00\",\"description\":\"What an SMTP port is, what ports 25, 465, 587 and 2525 are for, which one to use to send email securely, and the settings for Gmail, Outlook and Mailrelay.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/smtp-port\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/smtp-port\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/smtp-port\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/puertos-smtp-25-465-587-2525-1024x576.png\",\"contentUrl\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/puertos-smtp-25-465-587-2525-1024x576.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/glossary\\\/smtp-port\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SMTP port\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\",\"name\":\"Mailrelay\",\"description\":\"Mailrelay.com - Email Marketing Software\",\"publisher\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#organization\",\"name\":\"Mailrelay\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/mailrelay-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/mailrelay.com\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/mailrelay-logo.jpg\",\"width\":613,\"height\":291,\"caption\":\"Mailrelay\"},\"image\":{\"@id\":\"https:\\\/\\\/mailrelay.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Mailrelay\\\/\",\"https:\\\/\\\/x.com\\\/mailrelay\",\"https:\\\/\\\/www.youtube.com\\\/mailrelay-email-marketing\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SMTP port: which one to use (25, 465, 587 or 2525)","description":"What an SMTP port is, what ports 25, 465, 587 and 2525 are for, which one to use to send email securely, and the settings for Gmail, Outlook and Mailrelay.","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:\/\/mailrelay.com\/en\/glossary\/smtp-port\/","og_locale":"en_US","og_type":"article","og_title":"SMTP port: which one to use (25, 465, 587 or 2525)","og_description":"What an SMTP port is, what ports 25, 465, 587 and 2525 are for, which one to use to send email securely, and the settings for Gmail, Outlook and Mailrelay.","og_url":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/","og_site_name":"Mailrelay","article_publisher":"https:\/\/www.facebook.com\/Mailrelay\/","article_modified_time":"2026-10-06T22:05:42+00:00","og_image":[{"width":1672,"height":941,"url":"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@mailrelay","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/","url":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/","name":"SMTP port: which one to use (25, 465, 587 or 2525)","isPartOf":{"@id":"https:\/\/mailrelay.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/#primaryimage"},"image":{"@id":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/#primaryimage"},"thumbnailUrl":"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-1024x576.png","datePublished":"2024-10-08T20:08:07+00:00","dateModified":"2026-10-06T22:05:42+00:00","description":"What an SMTP port is, what ports 25, 465, 587 and 2525 are for, which one to use to send email securely, and the settings for Gmail, Outlook and Mailrelay.","breadcrumb":{"@id":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/#primaryimage","url":"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-1024x576.png","contentUrl":"https:\/\/mailrelay.com\/wp-content\/uploads\/2026\/10\/puertos-smtp-25-465-587-2525-1024x576.png"},{"@type":"BreadcrumbList","@id":"https:\/\/mailrelay.com\/en\/glossary\/smtp-port\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mailrelay.com\/en\/"},{"@type":"ListItem","position":2,"name":"SMTP port"}]},{"@type":"WebSite","@id":"https:\/\/mailrelay.com\/en\/#website","url":"https:\/\/mailrelay.com\/en\/","name":"Mailrelay","description":"Mailrelay.com - Email Marketing Software","publisher":{"@id":"https:\/\/mailrelay.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mailrelay.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mailrelay.com\/en\/#organization","name":"Mailrelay","url":"https:\/\/mailrelay.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailrelay.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/mailrelay.com\/wp-content\/uploads\/2019\/05\/mailrelay-logo.jpg","contentUrl":"https:\/\/mailrelay.com\/wp-content\/uploads\/2019\/05\/mailrelay-logo.jpg","width":613,"height":291,"caption":"Mailrelay"},"image":{"@id":"https:\/\/mailrelay.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Mailrelay\/","https:\/\/x.com\/mailrelay","https:\/\/www.youtube.com\/mailrelay-email-marketing"]}]}},"uagb_featured_image_src":[],"uagb_author_info":{"display_name":"Jose Argudo","author_link":"https:\/\/mailrelay.com\/en\/blog\/author\/"},"uagb_comment_info":0,"uagb_excerpt":"An SMTP port is the connection number a program uses to send email to a server with the SMTP protocol. The most common ones are 25, 465, 587 and 2525. Think of an office building. The server address is the street and number; the port is the specific door you walk through. If you pick&hellip;","_links":{"self":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/82318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/types\/glossary"}],"version-history":[{"count":13,"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/82318\/revisions"}],"predecessor-version":[{"id":99537,"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/glossary\/82318\/revisions\/99537"}],"wp:attachment":[{"href":"https:\/\/mailrelay.com\/en\/wp-json\/wp\/v2\/media?parent=82318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}