HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Webform how to? (

entertheraptor 29th December 2010 08:24

Webform how to?
Hi all, I'm running Ubuntu 10.10 server which was installed as per the Perfect Server - Ubuntu 10.10 [ISPConfig 3] guide on

So I'm running Postfix mail server along with both SquirrelMail and Roundcube as webmail clients.

What I want to do is place a webform on a page in one of my sites and need to know what to put in the "method" and "action" attributes in the "form" tag to get it to send to a email addy and how to configure the server to achieve this too.

As you can probably tell except for being able to copy and paste code and navigate the server from the command line I have little idea what I'm doing so feel free to treat this as a "Dummies Guide To".

Thanks in advance.

falko 30th December 2010 18:17

entertheraptor 30th December 2010 23:19

Thanks again falko,

Good basic tutorial, you could probably hear me going "Ahhh, I get it now... Duh!" from there :)

Anyhoo, I tried implementing this on my site and it sent the form, only when it arrived in my inbox it was a blank email with the subject ***SPAM*** . I'm guessing this might have something to do with the spam filter settings on my server or in ISPConfig.

Any idea where I should start looking?

falko 31st December 2010 15:21

Please make sure that the server you are sending from isn't blacklisted:

entertheraptor 31st December 2010 15:49

Checked and not blacklisted.

After I turned spam filters off on the server I don't get the ***SPAM*** in the subject line anymore. Now I just get a blank email, none of the form content.

entertheraptor 1st January 2011 05:27

Problem Solved
I'm not sure what went wrong with the previous script but I tried a different one and it works fine. Here's a link to the one that worked.

The only improvement to this would be Captcha or some kind of human verification. Anyone got any ideas on how to add such a feature to this script?

All times are GMT +2. The time now is 19:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.