View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Form passes to thank you page but no e-mail sent

Thread began 12/10/2009 5:08 pm by dfrith246697 | Last modified 12/15/2009 2:18 pm by dfrith246697 | 1221 views | 6 replies

dfrith246697

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!!!

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...