Ankh72 Posted March 8, 2011 Share Posted March 8, 2011 I purchased a WordPress template which uses PHP Mailer for it's contact form. Unfortunately, the contact form doesn't work. The developer has been mostly non-communicative, so I went to GoDaddy to try and find an answer. As best as we can determine, there is an issue with PHP Mailer looking for a SMTP host called localhost instead of what GoDaddy requires (relay-hosting.secureserver.net). GoDaddy wasn't sure where the script needed to be adjusted in order to make it work and I'm hoping the good folks at phpfreaks can help me out. I've attached the full class.phpmailer.php script that came with the template. The section that GoDaddy thought needed to be changed is under "Properties for SMTP" on the "public $Host='localhost';. I did change localhost to relay-hosting.secureserver.net but it did not fix the issue. I am not a coder (hence the reason I purchased a template). Any chance anyone can point to the areas of the script that need to be changed? Thanks in advance for your help! John [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/229936-php-mailer-and-godaddy/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.