Extension talk:EmailForm

spam
Hello,

I am using your extension and thank you for that work.

What I am witnessing is that I get a lot of s p a m, plenty of messages with external links....

I am using the extension recaptcha on the website but as no page is edited for the form, this is not trigerred.

Would you have any idea/suggestion about this?

Thanks and have a good day

Guy Contact form
 * I haven't had any spam through my site, but you aren't the only one to report this. Can you tell if the spam is being submitted through the form, or if the email address is being picked up through the MediaWiki:EmailForm page? I'm starting to think the address should be stored in the code instead.
 * EHartwell 20:05, 1 November 2007 (UTC)


 * I agree storing in the code is probably a better solution however we need to make sure that it does not limit us to only one target mail address or we end up with Extension:ContactPage, maybe storing addresses in an array and then somehow selecting which one to use through the MediaWiki:EmailForm page, perhaps by providing the array index or something?


 * This extension works like charm. Only one question. When i fill out the form and send the mail, the sender is wwwrun@something.com (apache), but not the sender i typed in the form. Is it possible to change this?
 * --89.212.65.33 14:54, 24 January 2008 (UTC)

Feature Request: Captcha
This extension really needs a built in captcha, because automated bots can easily send spam through this form. I've experienced this personally, since I tried it out on the Battlestar Wiki. -- Joe Beaudoin Jr. 17:08, 25 March 2008 (UTC)

Updated version
From the main page, moved here:

I replaced this new version with the old version. Odessaukrain 20:01, 9 May 2008 (UTC)

i cant see the hebrew emails
when users write to me in hebrew i cant see the email.. can u help me?

Error on send
Hi

I have somme pb with this extension :

The form is OK but the mail is not send and i have the following error message :

Warning: mail [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in D:\xampp\htdocs\mediawiki\extensions\EmailForm\EmailForm.php on line 223

Can somebody help me ? Thanks

Warnings and Blank Page after upgrading to 1.12.0
I originally installed EmailForm in MediaWiki 1.9.3. When I upgraded to 1.12.0, pages with Email forms on them stopped displaying. I now get the white page. The apache error log looks like:

[-timestamp-] [error] [client -IP-] PHP Notice: Undefined index:  0 in /var/www/html/w/includes/Parser.php on line 3430 [-timestamp-] [error] [client -IP-] PHP Notice: Undefined index:  1 in /var/www/html/w/includes/Parser.php on line 3430 [-timestamp-] [error] [client -IP-] PHP Notice: Undefined index:  2 in /var/www/html/w/includes/Parser.php on line 3430

It turns out that on this particular page I have 3 section headings in the and 0 section headings in the part.

The relevant code in Parser.php is:

I'm guessing that the code is choking on the conditionally rendered section headings? I don't know enough about PHP, MediaWiki, or this extension to fix this, or even to definitively say that is the problem.

The problem can be worked around by editing the page (append ?action=edit to the URL) and taking out all section headers. Putting in __NOEDITSECTIONS__ does not do the trick.

Any help is appreciated.

Tnabtaf 16:51, 15 August 2008 (UTC)