{"id":2058,"date":"2015-10-23T15:12:34","date_gmt":"2015-10-23T15:12:34","guid":{"rendered":"https:\/\/unihost.com\/help\/?p=2058"},"modified":"2023-01-19T13:58:18","modified_gmt":"2023-01-19T10:58:18","slug":"troubleshooting-wordpress-email-settings","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/","title":{"rendered":"Troubleshooting WordPress Email Settings"},"content":{"rendered":"<p class=\"western\"><span style=\"font-family: Ubuntu,sans-serif;\">Sometimes, after a fresh WordPress install, you cannot send mail from your website.<\/span><br \/>\n<!--more--><\/p>\n<h2 lang=\"php\"><span style=\"font-family: Ubuntu, sans-serif;\">Setting up the internal&nbsp;Wordpress function<\/span><\/h2>\n<p class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\">In order for&nbsp;mail to work, you need to set up the correct settings for the outgoing mail.<\/span><\/p>\n<ul>\n<li class=\"western\"><span style=\"font-family: Ubuntu Mono,monospace;\">\/wp-includes\/pluggable.php<\/span><span style=\"font-family: Ubuntu, sans-serif;\">&nbsp;in&nbsp;<span style=\"font-family: 'Ubuntu Mono', monospace;\">wp_mail()<span style=\"font-family: Ubuntu, sans-serif;\">&nbsp;function.<\/span><\/span><\/span><\/li>\n<li class=\"western\"><span style=\"font-family: Ubuntu Mono,monospace;\"> \/wp-includes\/class-phpmailer.php<span style=\"font-family: Ubuntu, sans-serif;\">&nbsp;in&nbsp;<\/span>send()<span style=\"font-family: Ubuntu, sans-serif;\"> function.<\/span><\/span><\/li>\n<\/ul>\n<p class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\">If the settings are correct, but the mail still does not work, you need to enable the wp-phpmailer plugin and check its setting <em>Use the internal WP function<\/em>.<\/span><\/p>\n<h2 class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\"><span style=\"font-family: Ubuntu, sans-serif;\">Setting up the&nbsp;MAIL FROM plugin<\/span><\/span><\/h2>\n<p class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\">If you do not want to edit the configuration files by hand, you can use the <a href=\"https:\/\/wordpress.org\/plugins\/wp-mailfrom-ii\/\" rel=\"nofollow nofollow noopener noreferrer\" target=\"_blank\">MAIL FROM<\/a> plugin.<\/span><\/p>\n<p class=\"western\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6793\" src=\"https:\/\/unihost.com\/help\/minio.php?Screenshot-from-2017-03-30-12-53-12.png\" alt=\"Screenshot from 2017-03-30 12-53-12\" width=\"903\" height=\"772\" title=\"Troubleshooting WordPress Email Settings - Image 1\"><\/p>\n<ol>\n<li class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\">Install the plugin.<\/span><\/li>\n<li class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\">Go to the WordPress Dashboard.<\/span><\/li>\n<li class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\">Hover the mouse over&nbsp;<em>Settings<\/em>.<\/span><\/li>\n<li class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\">Click <em>MAIL FROM<\/em>.<\/span><\/li>\n<li class=\"western\"><span style=\"font-family: Ubuntu, sans-serif;\">Setup the sender name and e-mail address.<\/span><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes, after a fresh WordPress install, you cannot send mail from your website.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[168,253],"tags":[195,11,20],"class_list":["post-2058","post","type-post","status-publish","format-standard","hentry","category-06-cms","category-cms-wordpress","tag-email-settings","tag-hosting","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Troubleshooting WordPress Email Settings - Unihost.FAQ<\/title>\n<meta name=\"description\" content=\"A simple tutorial, how to change WordPress Email Settings to avoid difficulties and mistakes with mail sending.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troubleshooting WordPress Email Settings - Unihost.FAQ\" \/>\n<meta property=\"og:description\" content=\"A simple tutorial, how to change WordPress Email Settings to avoid difficulties and mistakes with mail sending.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-23T15:12:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-19T10:58:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unihost.com\/help\/wp-content\/uploads\/Screenshot-from-2017-03-30-12-53-12.png\" \/>\n<meta name=\"author\" content=\"Unihost Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unihost Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/\"},\"author\":{\"name\":\"Unihost Support\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\"},\"headline\":\"Troubleshooting WordPress Email Settings\",\"datePublished\":\"2015-10-23T15:12:34+00:00\",\"dateModified\":\"2023-01-19T10:58:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/\"},\"wordCount\":139,\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/unihost.com\/help\/wp-content\/uploads\/Screenshot-from-2017-03-30-12-53-12.png\",\"keywords\":[\"Email Settings\",\"Hosting\",\"Wordpress\"],\"articleSection\":[\"06. CMS\",\"CMS WordPress\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/\",\"url\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/\",\"name\":\"Troubleshooting WordPress Email Settings - Unihost.FAQ\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/unihost.com\/help\/wp-content\/uploads\/Screenshot-from-2017-03-30-12-53-12.png\",\"datePublished\":\"2015-10-23T15:12:34+00:00\",\"dateModified\":\"2023-01-19T10:58:18+00:00\",\"description\":\"A simple tutorial, how to change WordPress Email Settings to avoid difficulties and mistakes with mail sending.\",\"breadcrumb\":{\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#primaryimage\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?Screenshot-from-2017-03-30-12-53-12.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?Screenshot-from-2017-03-30-12-53-12.png\",\"width\":903,\"height\":772},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\/\/unihost.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\/\/unihost.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Troubleshooting WordPress Email Settings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unihost.com\/help\/#website\",\"url\":\"https:\/\/unihost.com\/help\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unihost.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/unihost.com\/help\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\/\/unihost.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/unihost\/\",\"https:\/\/x.com\/unihost\",\"https:\/\/www.instagram.com\/unihost\/?hl=en\",\"https:\/\/www.linkedin.com\/company\/unihost-com\",\"https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\",\"name\":\"Unihost Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"caption\":\"Unihost Support\"},\"sameAs\":[\"https:\/\/unihost.com\/\"],\"url\":\"https:\/\/unihost.com\/help\/author\/support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Troubleshooting WordPress Email Settings - Unihost.FAQ","description":"A simple tutorial, how to change WordPress Email Settings to avoid difficulties and mistakes with mail sending.","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:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/","og_locale":"en_US","og_type":"article","og_title":"Troubleshooting WordPress Email Settings - Unihost.FAQ","og_description":"A simple tutorial, how to change WordPress Email Settings to avoid difficulties and mistakes with mail sending.","og_url":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2015-10-23T15:12:34+00:00","article_modified_time":"2023-01-19T10:58:18+00:00","og_image":[{"url":"https:\/\/unihost.com\/help\/wp-content\/uploads\/Screenshot-from-2017-03-30-12-53-12.png","type":"","width":"","height":""}],"author":"Unihost Support","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"Written by":"Unihost Support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/"},"author":{"name":"Unihost Support","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a"},"headline":"Troubleshooting WordPress Email Settings","datePublished":"2015-10-23T15:12:34+00:00","dateModified":"2023-01-19T10:58:18+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/"},"wordCount":139,"publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"image":{"@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/unihost.com\/help\/wp-content\/uploads\/Screenshot-from-2017-03-30-12-53-12.png","keywords":["Email Settings","Hosting","Wordpress"],"articleSection":["06. CMS","CMS WordPress"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/","url":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/","name":"Troubleshooting WordPress Email Settings - Unihost.FAQ","isPartOf":{"@id":"https:\/\/unihost.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#primaryimage"},"image":{"@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/unihost.com\/help\/wp-content\/uploads\/Screenshot-from-2017-03-30-12-53-12.png","datePublished":"2015-10-23T15:12:34+00:00","dateModified":"2023-01-19T10:58:18+00:00","description":"A simple tutorial, how to change WordPress Email Settings to avoid difficulties and mistakes with mail sending.","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#primaryimage","url":"https:\/\/unihost.com\/help\/minio.php?Screenshot-from-2017-03-30-12-53-12.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?Screenshot-from-2017-03-30-12-53-12.png","width":903,"height":772},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/troubleshooting-wordpress-email-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/"},{"@type":"ListItem","position":3,"name":"Troubleshooting WordPress Email Settings"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/#website","url":"https:\/\/unihost.com\/help\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a","name":"Unihost Support","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","caption":"Unihost Support"},"sameAs":["https:\/\/unihost.com\/"],"url":"https:\/\/unihost.com\/help\/author\/support\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/2058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/comments?post=2058"}],"version-history":[{"count":9,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/2058\/revisions"}],"predecessor-version":[{"id":10923,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/2058\/revisions\/10923"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/media?parent=2058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/categories?post=2058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/tags?post=2058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}