Hi,
1) In Properties of your form uncheck the Mail notification checkbox. Also, in the Advanced options of element where user enters his email uncheck the Mailback checkbox if it was checked. It is necessary to turn off these email notifications in order for this to work.
2) Go to Advanced options of your form ->More options -> Submit pieces -> End Submit, set Type to Custom and in the code area below paste the following code:
$this->execPieceByName('ff_InitLib');
$from = ff_getSubmit('email');
$fromname = ff_getSubmit('name');
$recipient = 'your@email.com'; /* Change to Your Admin Email Address */
$sel=ff_getSubmit('nameofselectlist'); //change nameofselectlist with name of select list
(not title)
$body = '';
foreach ($this->maildata as $data) {
$body .= $data[_FF_DATA_TITLE].": ".$data[_FF_DATA_VALUE].nl() . "\r\n";
}
$this->sendMail($from, $fromname, 'adminemail@test.com', $subject, $body); // replace adminemail@test.com with your admin email
//that line of code sends submitted data to the admin email
$this->sendMail($from, $fromname, $recipient, $subject, $body); //this line of code sends submitted data to the email address that user has entered in email field of your form
//Define content of the emails
$body1 = 'This is the first email, here you can add your text;
if($sel == "value1") {
$this->sendMail($from, $fromname, $recipient, $subject, $body1); }
Hope this helps
P.S: here is example how to send email based on radio button (for select list is the same)
crosstec.org/en/forums/3-breezingforms-f....html?start=6#243266
Regards,
Tihana