Why isn't my FormMail script working?


JFitzDen
Asked:
2012-03-04 8:42 pm EST

Hits: 3,611
Hi and thanks in advance! I'm trying to setup FormMail ala http://www.inmotionhosting.com/support/email/send-email-from-a-page/how-to-set-up-formmail.
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

0

Tim S.
Staff
9,967 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 FormMail2.pl 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?

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!
Ask a Question

Need more Help?

Search

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