{"id":29883,"date":"2021-04-22T06:20:20","date_gmt":"2021-04-22T06:20:20","guid":{"rendered":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/"},"modified":"2026-10-26T02:43:30","modified_gmt":"2026-10-26T02:43:30","slug":"smtp","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/nz\/knowledgebase\/smtp\/","title":{"rendered":"How to setup SMTP?"},"content":{"rendered":"<p>PHP mailers are completely disabled so you will need to use an SMTP plugin like <a href=\"https:\/\/wordpress.org\/plugins\/wp-mail-smtp\/\" target=\"_blank\" rel=\"noopener\">WP Mail SMTP<\/a> with a connected SMTP service like SendGrid or MailGun. For the Pro plugin, see <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/maintaining-wp-mail-smtp-pro-settings-after-upgrade\/\">WP Mail SMTP Pro<\/a>.&nbsp;<\/p>\n<p>Since PHP mailers are disabled, we recommend setting up Global SMTP because if you forget to apply an SMTP on a particular website, it uses Global SMTP as the fallback solution.<\/p>\n<h2>Install WP Mail SMTP as a Global SMTP<\/h2>\n<p>You can set one SMTP service for the whole account, so current and future websites send WordPress mail through it.<\/p>\n<p>If you wish to use Staq&#8217;s managed SMTP service, these steps below install WP Mail SMTP.<\/p>\n<p>Inside the Staq dashboard:<\/p>\n<ol>\n<li>Go to <strong>Global Plugins<\/strong>.<\/li>\n<li>If <strong>WP Mail SMTP<\/strong> is not listed, click <strong>Add Plugin<\/strong> and upload the plugin.<\/li>\n<li>Turn on <strong>Must Install <\/strong>if you want the WP Mail SMTP plugin to be the primary SMTP plugin. New and existing websites get the plugin.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/smtp-pro-must-install.png\" alt=\"Must Install on for WP Mail SMTP in Global Plugins\"><\/p>\n<h2>Set the account mail server for Global SMTP<\/h2>\n<ol>\n<li>Go to <strong>Global Settings<\/strong>.<\/li>\n<li>Stay on <strong>Website Defaults<\/strong>.<\/li>\n<li>Click <strong>SMTP<\/strong>.<\/li>\n<li>Turn on <strong>Enable Global SMTP<\/strong>.<\/li>\n<li>Open <strong>SMTP server<\/strong>. Enter Host, Encryption, Port, Username, and Password. TLS uses 587. SSL uses 465. <strong>SMTP authentication<\/strong> sends the username and password. <strong>Auto TLS<\/strong> upgrades the connection when the server supports it.<\/li>\n<li>Open <strong>Mail defaults<\/strong>. Enter From email and From name. <strong>Force from email<\/strong> and <strong>Force from name<\/strong> replace a From address set by a plugin or theme. <strong>Match return-path<\/strong> sets the return-path to the From email.<\/li>\n<li>Click <strong>Save Changes<\/strong>.<\/li>\n<li>In WordPress, open WP Mail SMTP and send a test email.<\/li>\n<\/ol>\n<p>The <strong>License key<\/strong> for WP Mail SMTP Pro is on this same page, under <strong>WP Mail SMTP Pro<\/strong>. See <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/maintaining-wp-mail-smtp-pro-settings-after-upgrade\/\">WP Mail SMTP Pro<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/smtp-global-server.png\" alt=\"SMTP server and Mail defaults on SMTP Settings\"><\/p>\n<h2>Override one website<\/h2>\n<div>If you wish for the website owner to receive an email from their own website&#8217;s domain, then do not use Global SMTP or override the Global SMTP.&nbsp;<\/div>\n<ol>\n<li>Open the website in Staq Panel.<\/li>\n<li>Click <strong>Domains<\/strong>, then <strong>SMTP<\/strong>.<\/li>\n<li>Pick <strong>SendGrid<\/strong>, <strong>Custom SMTP<\/strong>, <strong>Global SMTP<\/strong>, or <strong>None<\/strong>.<\/li>\n<li>Click <strong>Save Changes<\/strong>.<\/li>\n<\/ol>\n<p>SendGrid uses the connected account. See <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-sendgrid-with-staq\/\">SendGrid<\/a>. Custom SMTP here is that website&#8217;s own mail server. It is not Clients \u2192 Custom SMTP.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/smtp-website-method.png\" alt=\"SMTP method choices for one website\"><\/p>\n<div>\n<p class=\"sand-1gslohp sand-14l7nz5 sand-14z9mp sand-at24cr sand-1lziwak\" data-pm-slice=\"1 1 []\">If you prefer not to used Staq&#8217;s managed SMTP service but rather using your own SMTP plugin and settings, select None.<\/p>\n<\/div>\n<h2>FAQ<\/h2>\n<h3>Is this Clients \u2192 Custom SMTP?<\/h3>\n<p>No. Clients \u2192 Custom SMTP sends invoices and reports. This page is WordPress mail for websites.<\/p>\n<h3>Where do I put a Pro license?<\/h3>\n<p>On <strong>Global Settings<\/strong> \u2192 <strong>SMTP<\/strong>, under <strong>WP Mail SMTP Pro<\/strong>. See <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/maintaining-wp-mail-smtp-pro-settings-after-upgrade\/\">WP Mail SMTP Pro<\/a>.<\/p>\n<h3>Do I have to use WP Mail SMTP and\/or SendGrid?<\/h3>\n<p>We support both WP Mail SMTP and SendGrid as a managed solution. But you do not have to use either of them. You can use Global SMTP since it uses the WP Mail SMTP plugin but you can insert any SMTP service provider like MailGun. We do not support MailGun integration but if you have MailGun details, you will just need to enter it manually per site inside <b>Custom SMTP<\/b>, assuming you&#8217;re using WP Mail SMTP plugin. If you&#8217;re not using WP Mail SMTP, you can manage it via the plugin inside the WordPress site per site.<\/p>\n<h2>Need some help?<\/h2>\n<p>Open a support ticket if the control is not in Staq, or the change does not save.<\/p>\n","protected":false},"featured_media":29607,"parent":0,"template":"","class_list":["post-29883","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","categories-smtp"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to setup SMTP? - Managed Hosting Platform for WordPress<\/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:\/\/www.wpstaq.com\/knowledgebase\/smtp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup SMTP? - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"PHP mailers are completely disabled so you will need to use an SMTP plugin like WP Mail SMTP with a connected SMTP service like SendGrid or MailGun. For the Pro plugin, see WP Mail SMTP Pro.&nbsp; Since PHP mailers are disabled, we recommend setting up Global SMTP because if you forget to apply an SMTP&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-26T02:43:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/email.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/smtp\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/smtp\\\/\",\"name\":\"How to setup SMTP? - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/smtp\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/smtp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/email.png\",\"datePublished\":\"2021-04-22T06:20:20+00:00\",\"dateModified\":\"2026-10-26T02:43:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/smtp\\\/#breadcrumb\"},\"inLanguage\":\"en-nz\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/smtp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-nz\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/smtp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/email.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/email.png\",\"width\":1000,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/smtp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup SMTP?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-nz\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-nz\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to setup SMTP? - Managed Hosting Platform for WordPress","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:\/\/www.wpstaq.com\/knowledgebase\/smtp\/","og_locale":"en_US","og_type":"article","og_title":"How to setup SMTP? - Managed Hosting Platform for WordPress","og_description":"PHP mailers are completely disabled so you will need to use an SMTP plugin like WP Mail SMTP with a connected SMTP service like SendGrid or MailGun. For the Pro plugin, see WP Mail SMTP Pro.&nbsp; Since PHP mailers are disabled, we recommend setting up Global SMTP because if you forget to apply an SMTP&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2026-10-26T02:43:30+00:00","og_image":[{"width":1000,"height":500,"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/email.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/","name":"How to setup SMTP? - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/email.png","datePublished":"2021-04-22T06:20:20+00:00","dateModified":"2026-10-26T02:43:30+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/#breadcrumb"},"inLanguage":"en-nz","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/"]}]},{"@type":"ImageObject","inLanguage":"en-nz","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/email.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/email.png","width":1000,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/smtp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"How to setup SMTP?"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-nz"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-nz","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/knowledgebase\/29883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/media\/29607"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/media?parent=29883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}