Please turn DeBug on in the form General Tab and show us the output you get when you submit your form.
And while you are in the General Tab check that Send Emails is set to 'Yes' (or 'On', I forget which).
There's also a FAQ that talks about some common email problems.
Bob
turned debug on, but it just submitted and went to the redirect page...
Sorry, please remove the redirect url temporarily so that you can see the debug code.
Bob
* Form passed first SPAM check OK
* Form passed the submissions limit (if enabled) OK
* Form passed the Image verification (if enabled) OK
* Form passed the server side validation (if enabled) OK
* Form passed the plugins step (if enabled) OK
* Emails data loaded OK
* Form passed all before email code evaluation OK
* Debug End
_POST: Array ( [text_0] => test [text_1] => [email]test5@test5.com[/email] [text_2] => 33333 [select_3] => em5 [text_5] => test [chrono_verification] => alhtb [undefined] => Submit [3c896fe070b8c3cf3e242aee3b9f704e] => 1 )
Please check the 'Email the Results?' setting in the General Tab; and look at the Emails column in the Forms Manager - what do you see there?
Bob
If you set up a simple test form with no OnSubmit code, is the email sent OK?
If so then probably your OnSubmit code needs debugging.
Bob
<div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Name</label><input class="cf_inputbox required" maxlength="150" size="30" id="text_0" name="text_0" type="text"></div><div class="clear"> </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Email</label><input class="cf_inputbox validate-email" maxlength="150" size="30" id="text_1" name="text_1" type="text"></div><div class="clear"> </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Phone</label><input class="cf_inputbox validate-number" maxlength="150" size="30" id="text_2" name="text_2" type="text"></div><div class="clear"> </div></div><div class="form_item"><div class="form_element cf_dropdown"><label class="cf_label">Interested in:</label><select class="cf_inputbox validate-selection" id="select_3" size="1" name="select_3"><option value="em1">Civil & Structural Engineering</option><option value="em2">Mechanical Engineering</option><option value="em3">Building & Quantity Surveying</option><option value="em4">Valuation</option><option value="em5">Land Surveying</option></select></div><div class="clear"> </div></div><div class="form_item"><div class="form_element cf_textarea"><label class="cf_label">Comments</label><textarea class="cf_inputbox" rows="3" id="text_5" cols="30" name="text_5"></textarea></div><div class="clear"> </div></div>
<div class="form_item"><div class="form_element cf_captcha"><label class="cf_label">Verification</label><span>{imageverification}</span></div><div class="clear"> </div></div><div class="form_item"><div class="form_element cf_button"><input value="Submit" name="undefined" type="submit"></div><div class="clear"> </div></div>
And the OnSubmit code is:
<?php
$emailslist = array('em1'=>'wlang@wal.bm', 'em2'=>'rmason@wal.bm', 'em3'=>'plowry@wal.bm', 'em4'=>'plowry@wal.bm', 'em5'=>'kevin.desilva@gmail.com');
$emails[0]->to = $emailslist[$_POST['recipients']];
?>
Do you see anything I don't?
* Form passed first SPAM check OK
* Form passed the submissions limit (if enabled) OK
* Form passed the Image verification (if enabled) OK
* Form passed the server side validation (if enabled) OK
* Form passed the plugins step (if enabled) OK
* Emails data loaded OK
* Form passed all before email code evaluation OK
* Debug End
_POST: Array ( [text_0] => test [email_1] => [email]test@test.com[/email] [text_1] => 2222 [recipients] => em6 [text_3] => teet [chrono_verification] => pufih [undefined] => Submit [c4d9d450f7c827ba163b6aac09136e64] => 1 )
in your debug you have: [recipients] => em6 but your array above doesn't have a value for the key em6 !!?
Max
$emails[0]->to = "you@email.com";