Contact form not working after site transfer

Asked by:
Vitaliy / 13 Points
Time:
2012-02-28 3:52 pm EST
Category:
Email Troubleshooting
Hits:
1,064
I transferred my website (quotegeneratorplus.com ) to your hosting and my "contact form" now not working. I use php file that send mail through SMTP.(mail server: mail.quotegeneratorplus.com , 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

0

ChristiNi
Staff
9,518 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:

"mail.quotegeneratorplus.com"

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

"localhost"

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.

Regards,

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: support@WebHostingHub.com 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.