Copy of Code
The form seems to be working OK now but it is showing errors in the server log. (See following):
[Tue Dec 15 16:35:44 2009] [error] [client 198.65.168.24] PHP Notice: Undefined variable: WAGLOBAL_Contact_Email_Subject in /home/benttree/www/benttreepbg.com/WA_Universal_Email/WAUE_contact_1.php on line 10, referer: contactmgt.php
[Tue Dec 15 16:35:44 2009] [error] [client 198.65.168.24] PHP Notice: Undefined variable: WAGLOBAL_Contact_Email_BCC in /home/benttree/www/benttreepbg.com/WA_Universal_Email/WAUE_contact_1.php on line 27, referer: contactmgt.php
[Tue Dec 15 16:35:44 2009] [error] [client 198.65.168.24] PHP Notice: Undefined variable: WAGLOBAL_Contact_Email_CC in /home/benttree/www/benttreepbg.com/WA_Universal_Email/WAUE_contact_1.php on line 30, referer: contactmgt.php
It shows that the subject bcc cc were not setup correctly and it was looking for the WAGLOBAL_Contact_Email_* setup. After you changed that the script started to work for the other email addresses you had added. I am still seeing these errors even though it is working now:
[Tue Dec 15 16:41:04 2009] [error] [client 198.65.168.24] PHP Notice: Undefined offset: 0 in /home/benttree/www/benttreepbg.com/WA_Universal_Email/Mail_for_Linux_PHP.php on line 113, referer: contactmgt.php
[Tue Dec 15 16:41:04 2009] [error] [client 198.65.168.24] PHP Notice: Undefined offset: 0 in /home/benttree/www/benttreepbg.com/WA_Universal_Email/Mail_for_Linux_PHP.php on line 115, referer: contactmgt.php
[Tue Dec 15 16:41:04 2009] [error] [client 198.65.168.24] PHP Notice: Undefined offset: 0 in /home/benttree/www/benttreepbg.com/WA_Universal_Email/Mail_for_Linux_PHP.php on line 166, referer: contactmgt.php
The WA Globals file contains:
<?php
$WAGLOBAL_Captcha_Width = "200" ;
$WAGLOBAL_Captcha_Height = "40" ;
$WAGLOBAL_Captcha_Characters = "5" ;
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;
$WAGLOBAL_Captcha_BG = "ffffff" ;
$WAGLOBAL_Captcha_Noise = "000000" ;
$WAGLOBAL_Captcha_Text = "000000" ;
$WAGLOBAL_Captcha_BG_transparent = "0" ;
$WAGLOBAL_Email_Server = "" ;
$WAGLOBAL_Contact_Email_Subject = "Bent Tree HOA Contact Form Response" ;
$WAGLOBAL_Email_To = "wordprocess@assocpropmgt.com" ;
$WAGLOBAL_Contact_Email_CC = "president@benttreepbg.com" ;
$WAGLOBAL_Contact_Email_CC = "secretary@benttreepbg.com" ;
$WAGLOBAL_Contact_Email_BCC = "dfrith@wycombeweb.com" ;
?>
Hope this helps!!!