contact form not submitting
Hey Ray
Have got a contact form that runs the validation fine but doesnt submit and redirect to itself for the success message.  
Not sure what I have done wrong.  File attached and link to page in PM
Cheers
Jamie
 
 
     8/28/2015 3:13 am  |  #1 Jamie
8/28/2015 3:13 am  |  #1 Jamie  Hey Ray
Have got a contact form that runs the validation fine but doesnt submit and redirect to itself for the success message.  
Not sure what I have done wrong.  File attached and link to page in PM
Cheers
Jamie
 8/28/2015 10:43 am  |  #2 Ray BorduinWebAssist
8/28/2015 10:43 am  |  #2 Ray BorduinWebAssist
        Does the email get sent? I don't really see the problem, so I'd have to debug. I'd start by putting a session dump after line 207 and see if the session variable is set to the values you would expect and are keying off of.
 8/28/2015 11:11 am  |  #3 Jamie
8/28/2015 11:11 am  |  #3 Jamie  no the email isnt sent.
I get array(0) { } on page load but when i go to submit the form i get this
array(8) { ["waue_contact_1_Status"]=> string(7) "Failure" ["waue_contact_1_Index"]=> int(1) ["waue_contact_1_From"]=> string(43) "xxxxxx " ["waue_contact_1_To"]=> string(18) "jamie@xxxxxx.co.uk" ["waue_contact_1_Subject"]=> string(15) "Website Enquiry" ["waue_contact_1_Body"]=> string(2384) " --WAMULTIBREAKWA Content-Type: text/plain Content-Transfer-Encoding: 8bit --WAMULTIBREAKWA Content-Type: text/html
Form Submitted:	28 Aug 2015 
Name:	zxczxc
Company:	cxzczx
Tel:	cxzczx
Email Address:	cxzczxczx
textarea-name:	cxzczx
--WAMULTIBREAKWA-- " ["waue_contact_1_Header"]=> string(378) "MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="WAMULTIBREAKWA" From: xxxxxx Reply-To: noreply@xxxxxx.co.uk Return-Path: noreply@xxxxxx.co.uk X-Sender: xxxxxx X-Priority: 1 Date: Fri, 28 Aug 2015 19:18:57 +0000 (GMT) Message-ID: <796547382.14709c93a006be9459946e2e08bb0186@xxxxxx.co.uk> " ["waue_contact_1_Log"]=> string(50) "Sending To: jamie@xxxxxx.co.uk... - Failure 
" } 8/28/2015 12:39 pm  |  #4 Ray BorduinWebAssist
8/28/2015 12:39 pm  |  #4 Ray BorduinWebAssist
        It looks like that isn't a valid from email address, causing the email to fail. You have your code set to show the sent message only when the email sends successfully.
 8/28/2015 12:43 pm  |  #5 Jamie
8/28/2015 12:43 pm  |  #5 Jamie  got it  thanks Ray
have a great weekend
Jamie
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.