I'm trying to use the script: How To Log Emails Sent With PHP's mail() Function To Detect Form Spam
But i have this errors in my apache log:
PHP Notice: Undefined variable: mail in /usr/local/bin/phpsendmail on line 21
PHP Notice: Undefined index: PWD in /usr/local/bin/phpsendmail on line 33
I´m using Open Suse 12.3, Apache 2.2.22 and PHP 5
Thanks in advance.