homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

Matt's FormMail Script - Required Fields Problem

 2:47 pm on Nov 25, 2008 (gmt 0)

I have downloaded and implemented the latest formmail script. Everything worked until I chose to use the "required" fields. For some reason, even though I have valid entries in the two required fields (Name, Email) it still triggers the default error message.

I've gone thru my syntax in my contact form, but don't see anything and I checked the pearl file to be sure I didn't inadvertently make a goof.

Any help is appreciated.

Thanks much,

[edited by: brotherhood_of_LAN at 3:20 pm (utc) on Nov. 25, 2008]
[edit reason] No personal URLs please, as per ToS, thanks. [/edit]


brotherhood of LAN

 3:23 pm on Nov 25, 2008 (gmt 0)

Welcome to the forums woodcycl

I'm not a user of perl myself, are you fairly proficient with editing the script?

formmail is quite an old script, I'm not sure what the state of play with it is nowadays, it was known to contain some security issues a long time back. I'm sure someone else here will have good experience with it....


 7:21 pm on Nov 25, 2008 (gmt 0)

Thanks brotherhood of LAN - much appreciated.

It appears to still be used quite frequently and has many security safeguards built into it now compared to the last time I set one of them up about 5yrs past.

I can understand the script code about as much as anyone who knows logical code in general, but I am NOT a programmer nor do I know Perl per se. I did look thru the script to ensure there were no obvious issues where the variables were called for the required fields and I also compared it to the original script on his website to ensure I didn't mess it up somehow.

brotherhood of LAN

 11:31 am on Nov 27, 2008 (gmt 0)

You might want to see if some of these older threads [google.com] from a google search bring up something.

If you remove the "required fields" from the query there are a lot of related posts about the software.

CWI Tech Guy

 9:10 am on Jan 7, 2009 (gmt 0)

Formmail is one of the few scripts that is solid in its age. It has not been updated for years, but is still secure and very functional.

Woodcycl do you have your @recipients properly noted ? This should have your domain name in both www.yourdomain.com and yourdomain and possibly your servers IP address.

Also, what is your post method in your form ?

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved