Answers.Body: <p>This can be done with Sprout Forms and the Sprout Fields <a href="http://sprout.barrelstrengthdesign.com/craft-plugins/fields/docs/overview/email-select-field" rel="nofollow">Email Select Field</a>.</p>
  
  <p>The Email Select field allows you to create a dropdown list of email addresses, hides those email addresses on the front-end so they can't be seen or harvested for spam (the user will only see the Name of each department or discipline you wish to have associated with each email address), and makes the selected email address available after the user submits the form so that you can use that value to trigger an email address using Sprout Forms default notifications or Sprout Email Notifications.</p>
  
  <hr>
  
  <p>Legacy Answer:</p>
  
  <p>As of Sprout Forms v1.1.0 and the current public plugins available (none that I know of for this use case), you can do this with a Dropdown Field.  </p>
  
  <p>Let's say you have a dropdown field with the handle <code>departmentEmailDropdown</code>. In the settings, you can create a list of People/Departments and the emails you'd like them to be sent to:</p>
  
  <pre><code>Label    Value
  Support  support@mysite.com
  Other    other@mysite.com
  </code></pre>
  
  <p>When a user submits your form, all the values in the form are available for you to reference in your notification settings using shorthand syntax.</p>
  
  <p>In the <strong>Email Recipients</strong> field of your Notifications tab, you can reference your dropdown field using the syntax <code>{departmentEmailDropdown}</code>.</p>
  
  <p>The downsides to this approach are that the email addresses in your dropdown will be visible to in your page template, so robots can swoop in and gobble them up.</p>
  
  <p>We've got this on our radar and in the next couple weeks should have an update for you that will allow you to handle this as well as obfuscate the email addresses on the front-end. I'll update this answer when we have that ready.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-23T22:30:14.087Z
Answers.LastActivityDate: 2015-12-03T08:17:56.407Z
Answers.LastEditDate: 2015-12-03T08:17:56.407Z
Answers.UserDisplayName: Ben Parizek
Body: <p>I know I am able to send to multiple recipients for any given form submission.
  I am curious if there is a way to send to different addresses given user input.</p>
  
  <p>For example, I have a drop-down on my site that chooses the department. If I choose "support", I would like to send the notification to "support@mysite.com". But, if the users chooses "other", I'd like to send the email to "other@mysite.com"</p>
  
Tags: <plugin-sproutforms>
Title: How can I send email notification to different addresses using Sprout Forms
ThreadText: # How can I send email notification to different addresses using Sprout Forms
  
  (Asked by: username_0 on 2015-09-23)
  
  I know I am able to send to multiple recipients for any given form submission.
  I am curious if there is a way to send to different addresses given user input.
  
  For example, I have a drop-down on my site that chooses the department. If I choose "support", I would like to send the notification to "support@mysite.com". But, if the users chooses "other", I'd like to send the email to "other@mysite.com"
  
  **Tags:** plugin-sproutforms
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-09-23. Score: 3 | Accepted answer
  
  This can be done with Sprout Forms and the Sprout Fields [Email Select Field](http://sprout.barrelstrengthdesign.com/craft-plugins/fields/docs/overview/email-select-field).
  
  The Email Select field allows you to create a dropdown list of email addresses, hides those email addresses on the front-end so they can't be seen or harvested for spam (the user will only see the Name of each department or discipline you wish to have associated with each email address), and makes the selected email address available after the user submits the form so that you can use that value to trigger an email address using Sprout Forms default notifications or Sprout Email Notifications.
  
  ---
  
  Legacy Answer:
  
  As of Sprout Forms v1.1.0 and the current public plugins available (none that I know of for this use case), you can do this with a Dropdown Field.
  
  Let's say you have a dropdown field with the handle `departmentEmailDropdown`. In the settings, you can create a list of People/Departments and the emails you'd like them to be sent to:
  
  ```
  Label    Value
  Support  support@mysite.com
  Other    other@mysite.com
  
  ```
  
  When a user submits your form, all the values in the form are available for you to reference in your notification settings using shorthand syntax.
  
  In the **Email Recipients** field of your Notifications tab, you can reference your dropdown field using the syntax `{departmentEmailDropdown}`.
  
  The downsides to this approach are that the email addresses in your dropdown will be visible to in your page template, so robots can swoop in and gobble them up.
  
  We've got this on our radar and in the next couple weeks should have an update for you that will allow you to handle this as well as obfuscate the email addresses on the front-end. I'll update this answer when we have that ready.
  
  
  ---
  
  