{"id":17217108,"date":"2023-11-21T02:41:14","date_gmt":"2023-11-21T02:41:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-send-emails\/"},"modified":"2023-11-21T02:41:14","modified_gmt":"2023-11-21T02:41:14","slug":"problem-send-emails","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-send-emails\/","title":{"rendered":"problem send emails"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;m having trouble sending the message by email during the password recovery process. I have already installed an SMTP plugin, tested it by sending an email, and the plugin is working perfectly, but the password plugin message is not. I already added the code below to &#8216;functions.php&#8217; and it didn&#8217;t work either.<br \/><br \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">function whitelist_auth_endpoints( $endpoints ) {<br \/>$endpoints[] = &#8216;https:\/\/mysite.com\/sys\/wp-json\/bdpwr\/v1\/reset-password&#8217;;<br \/>$endpoints[] = &#8221;https:\/\/mysite.com\/sys\/wp-json\/bdpwr\/v1\/set-password&#8217;;<br \/>$endpoints[] = &#8221;https:\/\/mysite.com\/sys\/wp-json\/bdpwr\/v1\/validate-code&#8217;;<br \/>return $endpoints;<br \/>};<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">add_filter( &#8216;jwt_auth_whitelist&#8217; , &#8216;whitelist_auth_endpoints&#8217; , 10 , 1 );<\/p>\n","protected":false},"template":"","class_list":["post-17217108","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17217108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17217108\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17217108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}