
One of our students is using Drupal's Webform module for their site's contact form. They asked if it was possible to send submissions to different e-mail addresses based on a choice made in the form. The student wanted to send different submissions to different departments in the company. Yes, it is possible and we're going to show you how. Before we start, here are two useful links: 1) Install Webform
2) Create a Webform
![]()
![]()
![]()
3) Customize the emails from the form
![]()
![]()
![]()
![]()
![]() |

With Admincredible you can update and manage all your Joomla sites. If you have 5 or 500 sites, Admincredible will make your life easier! Visit Admincredible.com.
All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.
Copyright 2013 Open Source Training, LLC. All rights reserved.
Comments
An issue is opened here for conditional emails : drupal.org/node/687606
Looks like a useful patch. It's a shame it missed becoming part of the core for the next release.
In other words, lets say...
I have a select options field multiple options are enabled called: Need Assistance
There are five options each with a different email that a user can select and ask for assistance.
the EMAIL TO setting for this component is set to: Need Assistance
If a user selects 3 out of the 5 select options, will an email be sent to ALL 3 of the email addresses associated with each of options selected by the user?
In other words, if I have a the following options listed in a select option:
0|Business Degree Information
1|Nursing Degree Information
etc...
Is there a way to list make the text "Business Degree Information" or include a hyperlink in an option list?
Thanks, JudyAC