Setting Up Matt's FormMail Script

My PERL path is: c:\perl\perl.exe
SENDMAIL path: c:\winnt\system32\mail.exe
SENDMAIL path: c:\winnt\system32\blat.exe
My Website Root is: c:\webspace\resadmin\susie\\www
Web hosting : '',''

Matt's suggestion: "There are only two variables in the perl file which you will need to define along with changing the top line of your script to match the location of you Perl interpreter".

$mailprog = '/usr/lib/sendmail -i -t';
@referers = ('','YOUR_IP');

How do I modify these variables to make Matt's formMail work?
My web hosting doesn't support any script questions.
Any help would be appreciated.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bobbyampmAuthor Commented:
Web hosting's suggestion : For your formmail to work you only need to upload it to the www directory and make sure that the path to sendmail is specify.  There are two mail programs one c:\winnt\system32\mail.exe and c:\winnt\system32\blat both should work.

Their suggestion didn't help much.
does you hosting company uses php? the reason I ask this
is mailto script in php are far more easier then perl
secondly I have had many problems in the past with matt;s
form mail because it started to function as a open relay server. because of a bug in the script!!! so if you are going to use this script make sure you have the latest!!!
other wise you will get a nasty message from

anyway I suggest using php mail to script
have a look around here for one

and I can recommend

Good luck
Firstly, I suggest you use a secure, well written version of FormMail from

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Nothing has happened on this question in over 8 months. It's time for cleanup!

My recommendation, which I will post in the Cleanup topic area, is to
accept answer by Tintin.

Please post any comments here within the next seven days. Moderators check comments here before acting on the recommendation. Experts: silence will likely be taken as assent.


EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.