I believe there is an outgoing email conflict.
Configuration:
- A select component is set up.
- E-mail to address under the Webform mail settings is fill in with an email address.
- Webform mail settings->Conditional e-mail recipients is set to only-select.
Result: two emails are going out, where if i read it right only one should come out. One to the main E-mail to address under the Webform mail settings (even though it's not set), and an another email toward the select component email address. If, the E-mail address under the Webform mail settings is left blank, then only one email (the select component one) is sent out.
Comments
Comment #1
quicksketchI'm not sure what's wrong here. From the sound of your configuration, you've entered an e-mail address in the main Webform configuration and you've selected a component from the "Conditional e-mail recipients" fieldset. Combined, that's 2 e-mails that should be sent. Why would only one come out when you've entered both options?
Comment #2
esadot commentedIn my configuration the "Conditional e-mail recipients" offers two check-boxes: select and email. ONLY the select is checked. I was under the impression that only one email (per select configuration) should come out. In this configuration, if the main email address is set, then another email is sent out - which makes the email address checkbox (under Conditional e-mail recipients) pretty much useless.
Comment #3
quicksketchPerhaps the usage of "Conditional e-mail recipients" is confusing. You don't have to use them at all. If you want to send to exactly one e-mail address, just enter one in the e-mail box or use the default.
Conditional e-mail recipients does something different. It allows you to send e-mails to an address based on what a user has entered into the form. So if you have an field for "Your e-mail" and the user enters their e-mail in it, you can select that component as a conditional field. If the user enters an email address, they'll receive an e-mail copy of the submission.
It sounds to me still like everything is behaving as intended (even if it's confusing).
Comment #4
esadot commentedThanks quicksketch.
I believe I understand the nature of the conditional email address. I'm using the select component to direct the user's issue to different client (my clients), and it works great, thank you. The (small) issue I'm seeing involves sending ANOTHER not-needed email to whatever email is set in the general email address, regardless the select component.
If this behavior is "by design", I'm content.
Regards,
Comment #5
quicksketchYep, this is by design. You can (if needed) adjust the e-mails that are sent by using the Additional Submission code box. See http://drupal.org/handbook/modules/webform for some examples.
Comment #6
jane commentedeven i have a similar issue..
i have added the following components ..
1.recipient address.
2.your name
3.your address
4.message
5.send me a copy as radio button.
my problem is..if i click on submit mail is going to recipient address. and your address..i want to send a mail to only "your address" only if send me a copy is set to yes..how can i acheive. this..
please help me .
Comment #7
designcrs commented@jane:
you could use the following code in the "additional processing" box:
please note that you need to adapt the fieldnames.
send_me_a_copy should be a "select" field with the following values:
0|no
1|yes