{"id":1012,"date":"2009-04-08T10:50:16","date_gmt":"2009-04-08T02:50:16","guid":{"rendered":"http:\/\/fanhaijun.com\/?p=1012"},"modified":"2009-04-08T18:42:11","modified_gmt":"2009-04-08T10:42:11","slug":"smtp-sendmail-php-tutorial-for-joomla-15-and-gmail-integration","status":"publish","type":"post","link":"https:\/\/fanhaijun.com\/?p=1012","title":{"rendered":"SMTP, Sendmail, PHP Tutorial For Joomla 1.5 and Gmail Integration."},"content":{"rendered":"<p><font face=\"Arial\">If you\u2019re reading this, you\u2019ve probably got the same problem I had: you get some sort of error when you use the Joomla Contact form. You\u2019ve read through all the online tutorials and you\u2019ve probably tried all the suggestions and manipulated the contacts, the server under \u201cglobal config\u201d etc., but to no avail. Am I right. <\/font><\/p>\n<p><font face=\"Arial\">For some reason I could not get the PHP or SMTP function to work on my digital signage site. I already have Gmail set up as my email client in Hostmonster and it works fine. I also had all my contact information setup with the client email as my email of use. The problem I was getting was that the sendmail was working for the \u201ccopy\u201d email, but it was not sending me the email\u2013which was the most important part of the process. <\/font><\/p>\n<p><font face=\"Arial\">Here was the problem and here was how I fixed it. <\/font><\/p>\n<p><font face=\"Arial\">Under my MX mail settings in Hostmonster Cpanel, I changed one thing. Where it says, \u201cAlways accept mail locally even if the primary mx does not point to this server\u201d my settings were set to \u201cyes.\u201d I merely changed them back to \u201cno\u201d and now it all works swimmingly. I hope this helps. The reason I\u2019m posting it is because I spent WAY too long trying to figure this out\u2013for just a simple fix.<\/font><\/p>\n<p><strong><font color=\"#ff0000\" face=\"Arial\">It doesn\u2019t work, for me\u2026\u2026..Haijun<\/font><\/strong><\/p>\n<p><a href=\"http:\/\/natenead.com\/smtp-sendmail-php-tutorial-for-joomla-15-and-gmail-integration\/\" target=\"_blank\">Source link<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019re reading this, you\u2019ve&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[104],"tags":[163,107,164,162,165],"class_list":["post-1012","post","type-post","status-publish","format-standard","hentry","category-technogy","tag-contacts","tag-joomla","tag-phpmail","tag-sendmail","tag-smtp"],"_links":{"self":[{"href":"https:\/\/fanhaijun.com\/index.php?rest_route=\/wp\/v2\/posts\/1012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fanhaijun.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fanhaijun.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fanhaijun.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fanhaijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1012"}],"version-history":[{"count":0,"href":"https:\/\/fanhaijun.com\/index.php?rest_route=\/wp\/v2\/posts\/1012\/revisions"}],"wp:attachment":[{"href":"https:\/\/fanhaijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fanhaijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fanhaijun.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}