Contact form not working after site transfer

Asked by:
Vitaliy / 13 Points
2012-02-28 3:52 pm EST
Email Troubleshooting
I transferred my website ( ) to your hosting and my "contact form" now not working. I use php file that send mail through SMTP.(mail server: , port 587). But it worked on former hosting provider.

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User


13,688 Points
2012-02-28 4:13 pm EST
Hello Vitaliy,

I'm sorry you're having trouble with your contact form. While looking into this for you, we noticed on line 44 of submit.php that there was a reference to:


We commented that line out and added a new line, changing that to:


We then submitted a test through your contact form and confirmed that the email was sent. When creating PHP scripts such as this to send email, please be sure to use localhost as the mail server.

Please let us know if you have any additional questions or need further assistance.


Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.