{"id":36684,"date":"2024-10-14T03:09:22","date_gmt":"2024-10-14T03:09:22","guid":{"rendered":"https:\/\/www.wpstaq.com\/?post_type=knowledgebase&#038;p=36684"},"modified":"2026-10-26T02:40:17","modified_gmt":"2026-10-26T02:40:17","slug":"setup-agency-smtp","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/sg\/knowledgebase\/setup-agency-smtp\/","title":{"rendered":"Custom SMTP to send automated emails from Staq"},"content":{"rendered":"<p>Client PDF reports and billing emails can go out from your own address instead of a wpstaq.com address. These steps set that up. This is not the mail service WordPress uses to send from a website.<\/p>\n<h2>Open Custom SMTP<\/h2>\n<ol>\n<li>Go to <strong>Clients<\/strong>.<\/li>\n<li>Open the <strong>Custom SMTP<\/strong> tab.<\/li>\n<li>Or go to <strong>Global Settings<\/strong> \u2192 <strong>Custom SMTP<\/strong>. Same form.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/custom-smtp.png\" alt=\"Custom SMTP form on Clients\"><\/p>\n<h2>Fill the server and sender<\/h2>\n<ol>\n<li>Enter Host, Encryption (TLS or SSL), and Port. TLS uses 587. SSL uses 465.<\/li>\n<li>Enter Username and Password.<\/li>\n<li>Enter From email and From name.<\/li>\n<li>Click <strong>Save Changes<\/strong>.<\/li>\n<li>Click <strong>Send Test Email<\/strong> after the save. The test uses the saved values.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/custom-smtp-form.png\" alt=\"Custom SMTP host, encryption, sender, and Save Changes\"><\/p>\n<h2>FAQ<\/h2>\n<h3>What SPF record do I add?<\/h3>\n<p>Use one SPF record on the From domain. Authorize your email provider and any other service that sends for that domain. Also authorize the Staq mail server with <code>a:mail-01.wpstaq.com<\/code>. Do not create a second SPF record at the same hostname.<\/p>\n<p>Mailgun and the Staq mail server:<\/p>\n<pre><code>v=spf1 include:mailgun.org a:mail-01.wpstaq.com ~all<\/code><\/pre>\n<p>SendGrid and the Staq mail server:<\/p>\n<pre><code>v=spf1 include:sendgrid.net a:mail-01.wpstaq.com ~all<\/code><\/pre>\n<p>Office 365, Mailgun, and the Staq mail server:<\/p>\n<pre><code>v=spf1 include:spf.protection.outlook.com include:mailgun.org a:mail-01.wpstaq.com ~all<\/code><\/pre>\n<p>Office 365, SendGrid, and the Staq mail server:<\/p>\n<pre><code>v=spf1 include:spf.protection.outlook.com include:sendgrid.net a:mail-01.wpstaq.com ~all<\/code><\/pre>\n<p>Google Workspace, Mailgun, and the Staq mail server:<\/p>\n<pre><code>v=spf1 include:_spf.google.com include:mailgun.org a:mail-01.wpstaq.com ~all<\/code><\/pre>\n<p>Google Workspace, SendGrid, and the Staq mail server:<\/p>\n<pre><code>v=spf1 include:_spf.google.com include:sendgrid.net a:mail-01.wpstaq.com ~all<\/code><\/pre>\n<h3>Can an AI write the record for me?<\/h3>\n<p>Yes. Use ChatGPT, Claude, or another AI you prefer. Paste this prompt and fill the brackets:<\/p>\n<pre><code>Help me create the correct SPF DNS record for my domain.\n\n- My domain: [your domain]\n- My email provider: [provider name]\n- Other services sending emails for my domain, including website forms and newsletters: [list services or \"unsure\"]\n- My current SPF record: [paste record or \"unknown\"]\n\nMy website is hosted by WPStaq, which asks me to authorize its direct mail server using `a:mail-01.wpstaq.com`.\n\nCheck my email providers' official SPF requirements and combine all required senders into one SPF record, preserving existing legitimate senders. Check the SPF DNS lookup limit and tell me the DNS record type, hostname and value to enter.\n\nIf any information is missing, ask me before generating the final record. Do not guess provider SPF values or tell me to create a second SPF record at the same hostname.<\/code><\/pre>\n<h3>What&#8217;s the difference between Global SMTP and Sendgrid?<\/h3>\n<p>SendGrid is great for when you want the emails to send from the actual domain name but you can only apply when the site is on production. Since php mailers are completely disabled, we still recommend Global SMTP which is accessible via&nbsp;<strong>Global Settings<\/strong> \u2192 <strong>SMTP. <\/strong>Why? If the website is in dev mode or staging, at least you can still receive emails from the website using a global mailer. It&#8217;s also neat to use just in case you forget to apply SendGrid or a custom SMTP. It&#8217;s great as a fallback solution.&nbsp;<\/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":0,"parent":0,"template":"","class_list":["post-36684","knowledgebase","type-knowledgebase","status-publish","hentry","categories-accounts-billing","categories-smtp","categories-white-label"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Custom SMTP to send automated emails from Staq - 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\/setup-agency-smtp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom SMTP to send automated emails from Staq - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"Client PDF reports and billing emails can go out from your own address instead of a wpstaq.com address. These steps set that up. This is not the mail service WordPress uses to send from a website. Open Custom SMTP Go to Clients. Open the Custom SMTP tab. Or go to Global Settings \u2192 Custom SMTP.&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-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:40:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/custom-smtp.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/setup-agency-smtp\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/setup-agency-smtp\\\/\",\"name\":\"Custom SMTP to send automated emails from Staq - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/setup-agency-smtp\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/setup-agency-smtp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/custom-smtp.png\",\"datePublished\":\"2024-10-14T03:09:22+00:00\",\"dateModified\":\"2026-10-26T02:40:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/setup-agency-smtp\\\/#breadcrumb\"},\"inLanguage\":\"en-sg\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/setup-agency-smtp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/setup-agency-smtp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/custom-smtp.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/custom-smtp.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/setup-agency-smtp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom SMTP to send automated emails from Staq\"}]},{\"@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-sg\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@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":"Custom SMTP to send automated emails from Staq - 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\/setup-agency-smtp\/","og_locale":"en_US","og_type":"article","og_title":"Custom SMTP to send automated emails from Staq - Managed Hosting Platform for WordPress","og_description":"Client PDF reports and billing emails can go out from your own address instead of a wpstaq.com address. These steps set that up. This is not the mail service WordPress uses to send from a website. Open Custom SMTP Go to Clients. Open the Custom SMTP tab. Or go to Global Settings \u2192 Custom SMTP.&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2026-10-26T02:40:17+00:00","og_image":[{"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/custom-smtp.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/","name":"Custom SMTP to send automated emails from Staq - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/custom-smtp.png","datePublished":"2024-10-14T03:09:22+00:00","dateModified":"2026-10-26T02:40:17+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/#breadcrumb"},"inLanguage":"en-sg","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/"]}]},{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/custom-smtp.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2026\/10\/custom-smtp.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/setup-agency-smtp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"Custom SMTP to send automated emails from Staq"}]},{"@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-sg"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-sg","@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\/sg\/wp-json\/wp\/v2\/knowledgebase\/36684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/media?parent=36684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}