Jump to content

PHP Mailer and GoDaddy


Ankh72

Recommended Posts

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]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.