Answers.Body: <p>Starting from the webform configuration page:</p>
  
  <ol>
  <li>Add your Yes/No component</li>
  <li>Click the Emails button</li>
  <li>In the E-mail To column select Component Value and choose your Yes/No component</li>
  <li>Click Add</li>
  <li>In the Component E-mail options, enter the email addresses to receive mail for Yes and for No.</li>
  <li>Configure the rest of the email settings as you want </li>
  </ol>
  
  <p><a href="https://i.sstatic.net/O5Uh6.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/O5Uh6.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-21T15:12:47.450Z
Answers.Text: Thank you, Aidan.  I've done this, but unfortunately it doesn't seem to work.  I imagine there is a problem with the mail function...
Answers.UserDisplayName: Helen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-21T22:31:58.297Z
Answers.Text: Ah yes, you'll need basic mail to work first.  Has that been setup for your Drupal site?
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-22T12:24:25.510Z
Answers.Text: I thought that it had, as it definitely used to work!  But now I'm not so sure!  Are you able to advise how I can check?
Answers.UserDisplayName: Helen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-20T23:35:21.130Z
Answers.LastActivityDate: 2019-02-21T10:00:30.843Z
Answers.LastEditDate: 2019-02-21T10:00:30.843Z
Answers.UserDisplayName: Aidan
Body: <p>I've created a question on my webforms that require an answer of 'yes' or 'no' 
   I can see there's an instruction of</p>
  
  <p>'The selected component 'xxxxx' has multiple options. You may enter an e-mail address for each choice. When that choice is selected, an e-mail will be sent to the corresponding address. If a field is left blank, no e-mail will be sent for that option'</p>
  
  <p>Is it possible to have one member of staff receive the result of the form if the answer is no, and another person if the answer is yes?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-20T22:33:03.833Z
Comments.Text: I think this is technically not a CiviCRM question, since this is a Webform feature and isn't impacted by the use of Webform-CiviCRM.  Maybe better for drupal.stackexchange.com?
Comments.UserDisplayName: Jon G - Megaphone Tech
Tags: <webform-civicrm>
Title: Webform emails direct
ThreadText: # Webform emails direct
  
  (Asked by: username_0 on 2019-02-20)
  
  I've created a question on my webforms that require an answer of 'yes' or 'no'
  I can see there's an instruction of
  
  'The selected component 'xxxxx' has multiple options. You may enter an e-mail address for each choice. When that choice is selected, an e-mail will be sent to the corresponding address. If a field is left blank, no e-mail will be sent for that option'
  
  Is it possible to have one member of staff receive the result of the form if the answer is no, and another person if the answer is yes?
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: I think this is technically not a CiviCRM question, since this is a Webform feature and isn't impacted by the use of Webform-CiviCRM.  Maybe better for drupal.stackexchange.com?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-02-20. Score: 2
  
  Starting from the webform configuration page:
  
  1. Add your Yes/No component
  2. Click the Emails button
  3. In the E-mail To column select Component Value and choose your Yes/No component
  4. Click Add
  5. In the Component E-mail options, enter the email addresses to receive mail for Yes and for No.
  6. Configure the rest of the email settings as you want
  
  [![enter image description here](https://i.sstatic.net/O5Uh6.png)](https://i.sstatic.net/O5Uh6.png)
  
  > **Comments:**
  > **username_0**: Thank you, username_2.  I've done this, but unfortunately it doesn't seem to work.  I imagine there is a problem with the mail function...  
  > **username_2**: Ah yes, you'll need basic mail to work first.  Has that been setup for your Drupal site?  
  > **username_0**: I thought that it had, as it definitely used to work!  But now I'm not so sure!  Are you able to advise how I can check?  
  
  ---
  
  