{"id":3496100,"date":"2013-02-22T19:12:28","date_gmt":"2013-02-22T19:12:28","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/functionmail-error\/"},"modified":"2016-08-20T21:55:11","modified_gmt":"2016-08-20T21:55:11","slug":"functionmail-error","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/functionmail-error\/","title":{"rendered":"function.mail error"},"content":{"rendered":"<p>Does anyone know how to solve the error below?<\/p>\n<blockquote>\n<p>Warning: mail() [<a href='function.mail'>function.mail<\/a>]: Failed to connect to mailserver at &#8220;localhost&#8221; port 25, verify your &#8220;SMTP&#8221; and &#8220;smtp_port&#8221; setting in php.ini or use ini_set() in C:\\wamp\\www\\wordpress\\wp-content\\plugins\\quote-cart\\quote-cart.php on line 1459<\/p>\n<\/blockquote>\n<p>I setup a php.ini file and added:<\/p>\n<pre><code>[mail function]\nSMTP = smtp.gmail.com<\/code><\/pre>\n<p>Still no luck.<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/quote-cart\/<\/p>\n","protected":false},"template":"","class_list":["post-3496100","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3496100","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\/3496100\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3496100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}