{"id":27662,"date":"2024-12-24T05:39:44","date_gmt":"2024-12-24T05:39:44","guid":{"rendered":"https:\/\/help.xodox.in\/?post_type=docs&#038;p=27662"},"modified":"2024-12-24T05:39:44","modified_gmt":"2024-12-24T05:39:44","password":"","slug":"setting-up-email-smtp-for-forgot-password-other-email-notifications","status":"publish","type":"docs","link":"https:\/\/help.xodox.in\/pt\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/","title":{"rendered":"Setting up Email\/SMTP for Forgot password &#038; other email notifications."},"content":{"rendered":"<div class=\"fusion-text fusion-text-1\">\n<h2 class=\"fusion-responsive-typography-calculated\"><span id=\"Setting-Email-for-Forgot-Password-Other-application-wide-emails\">Setting Email for Forgot Password &amp; Other application-wide emails<\/span><\/h2>\n<p>Email functionality is used in some parts of applications like \u201cForgot Password\u201d, \u201cOffline Payment approval for SaaS module\u201d and others from time-to-time.<\/p>\n<p>During installation steps, you can set up email setting with all \u201cSMTP\u201d details or if you\u2019re server support php-mail then you can use that too (php-mail is not recommended)<\/p>\n<p>But if you have not set up it correctly then you can follow the below steps to do it:<\/p>\n<ul>\n<li>Open you .env file<\/li>\n<li>You will find the below configurations present there\n<ul>\n<li>MAIL_DRIVER=smtp<br \/>\nMAIL_HOST=<br \/>\nMAIL_PORT=<br \/>\nMAIL_USERNAME=<br \/>\nMAIL_PASSWORD=<br \/>\nMAIL_ENCRYPTION=<\/li>\n<\/ul>\n<\/li>\n<li>Fill in the appropriate details, you can get in contact with your hosting provider for any of the values above.<\/li>\n<li>For example with Gmail it looks like below:\n<ul>\n<li>MAIL_DRIVER=smtp<br \/>\nMAIL_HOST=smtp.gmail.com<br \/>\nMAIL_PORT=587<br \/>\nMAIL_USERNAME=<br \/>\nMAIL_PASSWORD=<br \/>\nMAIL_ENCRYPTION=TLS<\/li>\n<li>Some hosting disable port 587 and due to that email may not work, contact your hosting provider &amp; they will enable it.<\/li>\n<\/ul>\n<\/li>\n<li><strong>NOTE<\/strong>: Use either TLS or SSL, don\u2019t type both. Also, provide the port according to the given encryption used.<\/li>\n<\/ul>\n<h2 class=\"fusion-responsive-typography-calculated\"><span id=\"Gmail-SMTP\">Gmail SMTP:<\/span><\/h2>\n<p>If you\u2019re using Gmail or GSuite it might throw some errors, check below for a solution:<\/p>\n<ol>\n<li>If you have <strong>2-factor authentication enabled<\/strong> (almost all have this enabled) then create an app password for pos.\n<ol>\n<li>More details here https:\/\/support.google.com\/accounts\/answer\/185833?hl=en<\/li>\n<li>Create app password from here: https:\/\/myaccount.google.com\/apppasswords<\/li>\n<\/ol>\n<\/li>\n<li><strong>Change port &amp; encryption:<\/strong> Try using port 465 and encryption SSL<\/li>\n<\/ol>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Setting Email for Forgot Password &amp; Other application-wide emails Email functionality is used in some parts of applications like \u201cForgot Password\u201d, \u201cOffline Payment approval for SaaS module\u201d and others from time-to-time. During installation steps, you can set up email setting with all \u201cSMTP\u201d details or if you\u2019re server support php-mail then you can use that too (php-mail is not recommended) But if you have not set up it correctly then you can follow the below steps to do it: Open you .env file You will find the below configurations present there MAIL_DRIVER=smtp MAIL_HOST= MAIL_PORT= MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION= Fill in the appropriate details, you can get in contact with your hosting provider for any of the values above. For example with Gmail it looks like below: MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=TLS Some hosting disable port 587 and due to that email may not work, contact your hosting provider &amp; they will enable it. NOTE: Use either TLS or SSL, don\u2019t type both. Also, provide the port according to the given encryption used. Gmail SMTP: If you\u2019re using Gmail or GSuite it might throw some errors, check below for a solution: If you have 2-factor authentication enabled (almost all have this enabled) then create an app password for pos. More details here https:\/\/support.google.com\/accounts\/answer\/185833?hl=en Create app password from here: https:\/\/myaccount.google.com\/apppasswords Change port &amp; encryption: Try using port 465 and encryption SSL<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[72],"doc_tag":[77],"class_list":["post-27662","docs","type-docs","status-publish","hentry","doc_category-pos-notifications","doc_tag-pos"],"acf":[],"year_month":"2026-04","word_count":259,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"help-xodox","author_nicename":"help-xodox","author_url":"https:\/\/help.xodox.in\/pt\/author\/help-xodox\/"},"doc_category_info":[{"term_name":"POS Notifications","term_url":"https:\/\/help.xodox.in\/pt\/docs-category\/pos-notifications\/"}],"doc_tag_info":[{"term_name":"pos","term_url":"https:\/\/help.xodox.in\/pt\/docs-tag\/pos\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setting up Email\/SMTP for Forgot password &amp; other email notifications. - My CMS<\/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:\/\/help.xodox.in\/pt\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting up Email\/SMTP for Forgot password &amp; other email notifications. - My CMS\" \/>\n<meta property=\"og:description\" content=\"Setting Email for Forgot Password &amp; Other application-wide emails Email functionality is used in some parts of applications like \u201cForgot Password\u201d, \u201cOffline Payment approval for SaaS module\u201d and others from time-to-time. During installation steps, you can set up email setting with all \u201cSMTP\u201d details or if you\u2019re server support php-mail then you can use that too (php-mail is not recommended) But if you have not set up it correctly then you can follow the below steps to do it: Open you .env file You will find the below configurations present there MAIL_DRIVER=smtp MAIL_HOST= MAIL_PORT= MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION= Fill in the appropriate details, you can get in contact with your hosting provider for any of the values above. For example with Gmail it looks like below: MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=TLS Some hosting disable port 587 and due to that email may not work, contact your hosting provider &amp; they will enable it. NOTE: Use either TLS or SSL, don\u2019t type both. Also, provide the port according to the given encryption used. Gmail SMTP: If you\u2019re using Gmail or GSuite it might throw some errors, check below for a solution: If you have 2-factor authentication enabled (almost all have this enabled) then create an app password for pos. More details here https:\/\/support.google.com\/accounts\/answer\/185833?hl=en Create app password from here: https:\/\/myaccount.google.com\/apppasswords Change port &amp; encryption: Try using port 465 and encryption SSL\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.xodox.in\/pt\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/\" \/>\n<meta property=\"og:site_name\" content=\"My CMS\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/\",\"url\":\"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/\",\"name\":\"Setting up Email\/SMTP for Forgot password & other email notifications. - My CMS\",\"isPartOf\":{\"@id\":\"https:\/\/help.xodox.in\/#website\"},\"datePublished\":\"2024-12-24T05:39:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.xodox.in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting up Email\/SMTP for Forgot password &#038; other email notifications.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.xodox.in\/#website\",\"url\":\"https:\/\/help.xodox.in\/\",\"name\":\"My CMS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/help.xodox.in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.xodox.in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/help.xodox.in\/#organization\",\"name\":\"My CMS\",\"url\":\"https:\/\/help.xodox.in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png\",\"contentUrl\":\"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png\",\"width\":573,\"height\":192,\"caption\":\"My CMS\"},\"image\":{\"@id\":\"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setting up Email\/SMTP for Forgot password & other email notifications. - My CMS","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:\/\/help.xodox.in\/pt\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/","og_locale":"pt_PT","og_type":"article","og_title":"Setting up Email\/SMTP for Forgot password & other email notifications. - My CMS","og_description":"Setting Email for Forgot Password &amp; Other application-wide emails Email functionality is used in some parts of applications like \u201cForgot Password\u201d, \u201cOffline Payment approval for SaaS module\u201d and others from time-to-time. During installation steps, you can set up email setting with all \u201cSMTP\u201d details or if you\u2019re server support php-mail then you can use that too (php-mail is not recommended) But if you have not set up it correctly then you can follow the below steps to do it: Open you .env file You will find the below configurations present there MAIL_DRIVER=smtp MAIL_HOST= MAIL_PORT= MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION= Fill in the appropriate details, you can get in contact with your hosting provider for any of the values above. For example with Gmail it looks like below: MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=TLS Some hosting disable port 587 and due to that email may not work, contact your hosting provider &amp; they will enable it. NOTE: Use either TLS or SSL, don\u2019t type both. Also, provide the port according to the given encryption used. Gmail SMTP: If you\u2019re using Gmail or GSuite it might throw some errors, check below for a solution: If you have 2-factor authentication enabled (almost all have this enabled) then create an app password for pos. More details here https:\/\/support.google.com\/accounts\/answer\/185833?hl=en Create app password from here: https:\/\/myaccount.google.com\/apppasswords Change port &amp; encryption: Try using port 465 and encryption SSL","og_url":"https:\/\/help.xodox.in\/pt\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/","og_site_name":"My CMS","twitter_card":"summary_large_image","twitter_misc":{"Tempo estimado de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/","url":"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/","name":"Setting up Email\/SMTP for Forgot password & other email notifications. - My CMS","isPartOf":{"@id":"https:\/\/help.xodox.in\/#website"},"datePublished":"2024-12-24T05:39:44+00:00","breadcrumb":{"@id":"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/help.xodox.in\/docs\/setting-up-email-smtp-for-forgot-password-other-email-notifications\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.xodox.in\/"},{"@type":"ListItem","position":2,"name":"Setting up Email\/SMTP for Forgot password &#038; other email notifications."}]},{"@type":"WebSite","@id":"https:\/\/help.xodox.in\/#website","url":"https:\/\/help.xodox.in\/","name":"My CMS","description":"","publisher":{"@id":"https:\/\/help.xodox.in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.xodox.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/help.xodox.in\/#organization","name":"My CMS","url":"https:\/\/help.xodox.in\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/","url":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png","contentUrl":"https:\/\/help.xodox.in\/wp-content\/uploads\/2024\/10\/Xodox-Logo-01-2.png","width":573,"height":192,"caption":"My CMS"},"image":{"@id":"https:\/\/help.xodox.in\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs\/27662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/comments?post=27662"}],"version-history":[{"count":0,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/docs\/27662\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/media?parent=27662"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/doc_category?post=27662"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.xodox.in\/pt\/wp-json\/wp\/v2\/doc_tag?post=27662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}