InMotion Hosting Support Center

Why isn't my FormMail script working?

2012-03-04 8:42 pm EST

Hits: 3,689
Hi and thanks in advance! I'm trying to setup FormMail ala
My contact form seems to work okay and goes to the redirect page but I never get the email -- have tried both /usr/lib/sendmail and /usr/sbin/sendmail for the sendmail path. Probably something easy that I'm missing.... Tried chatting with inmotionhosting tech support but that resulting in him sending me links to the stuff I started with and then telling me it's not his problem (which is true).

Any troubleshooting suggestions will be much appreciated!

Thx, Jeff

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


Tim S
13,821 Points
2012-03-05 9:56 am EST
Hi Jeff,

Thanks for posting a question. I'm sorry you are having trouble with FormMail. I'm more than happy to help you today.

I looked at your contact form and noticed a few things that need to be changed. Since your working off your temp URL to test the website, you'll want to use the full URL to the path of the FormMail script. Also, the correct path to sendmail is: /usr/lib/sendmail

I created a file and a contact2.html file with the correct changes in them so I could test it out. I've successfully received the email. You can use those (and change the email address since it's pointed to mine) or refer to the code in which I changed.

I hope this helps! If you need further assistance please feel free to contact us. Thanks!

Tim S

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!