{"id":670564,"date":"2007-12-24T12:28:50","date_gmt":"2007-12-24T12:28:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-mail-function\/"},"modified":"2016-08-19T00:03:27","modified_gmt":"2016-08-19T00:03:27","slug":"php-mail-function","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-mail-function\/","title":{"rendered":"php mail() function"},"content":{"rendered":"<p>My WordPress admin email stopped coming through a couple of weeks ago.  My webhosting support has told me that I need to do the following:<\/p>\n<blockquote>\n<p>Please added following line to your php scripts that contain php mail() function:<\/p>\n<p>ini_set(&#8216;sendmail_from&#8217;, &#8216;user@domain.com&#8217;);<\/p>\n<p>where &#8216;user@domain.com&#8217; is mail address specified as From: address for your php mail sending.<\/p>\n<\/blockquote>\n<p>Help?  Which files contain the php mail() function?  Where would I add that line?<\/p>\n<p>Any help is appreciated&#8230; I am not a php programmer!<\/p>\n","protected":false},"template":"","class_list":["post-670564","topic","type-topic","status-closed","hentry","topic-tag-php-mail"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/670564","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\/670564\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=670564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}