{"id":6067513,"date":"2015-04-27T22:57:17","date_gmt":"2015-04-27T22:57:17","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/email-notification-doesnt-work-3\/"},"modified":"2016-08-24T15:16:54","modified_gmt":"2016-08-24T15:16:54","slug":"email-notification-doesnt-work-3","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/email-notification-doesnt-work-3\/","title":{"rendered":"Email notification doesn&#039;t work"},"content":{"rendered":"<p>hello,<\/p>\n<p>Title seams  to be regular and easy, but I am stuck for a couple of days \ud83d\ude41<\/p>\n<p>I have WordPress 4.2.1<\/p>\n<p>1) User-&gt; Admin -&gt; email address set properly (admin is the author of the posts)<br \/>\n2) Settings -&gt; General (email address set properly)<br \/>\n3) Setting -&gt; Discussion (<strong>E-mail me whenever<\/strong> &amp; <strong>Before a comment appears<\/strong> all boxes ON)<br \/>\n4) Spam folder is empty &#8230;.<\/p>\n<p>If I add to the header:<br \/>\n<code>wp_mail( &#039;mymail@gmail.com&#039;, &#039;test comment&#039;, &#039;comment content&#039;);<\/code><\/p>\n<p>then I receive email every time when I reload a page &#8230; <\/p>\n<p>What else do I miss ??? Heeeellllpp!<\/p>\n","protected":false},"template":"","class_list":["post-6067513","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6067513","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\/6067513\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6067513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}