Closed (fixed)
Project:
Webform
Version:
6.x-2.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2008 at 14:46 UTC
Updated:
4 Jan 2010 at 09:20 UTC
I have defined a field called "Reason for Inquiry" which currently looks like this:
one@example.com|Select 1
two@example.com|Select 2
three@example.com|Select 3
But I want a given option to be able to send to more than one email address like so:
one@example.com,also-one@example.com|Select 1
two@example.com|Select 2
three@example.com|Select 3
I get the email to one of the email addresses, but not both. Is this feature supported? Can it be?
Thanks! Great module - very handy!
Comments
Comment #1
quicksketch#282436: Multiple Options, Same Value in 'Select' Form Element (+ Protect from Spam Harvesters)
Comment #2
capellicI don't see this as a duplicate key issue as the "#282436: Multiple Options, Same Value in 'Select' Form Element" is addressing. I have unique keys, but my issue is I have multiple email addresses for each option. Or maybe I am missing something? If so, can you point that out? Thanks.
Comment #3
quicksketchSorry for the haste in marking duplicate. With 300+ issues at all times, it's difficult to keep on top of them. I thought this should work, as comma-separated e-mail addresses works fine when placed in the standard E-mail recipient field. But as you report, it seems that only one e-mail is sent out to one of the addresses. I'll move this in the bug queue, though I won't have time to investigate it further in the immediate future.
Comment #4
capellicThanks much! I appreciate your work on this module - it's a very good module.
Comment #5
quicksketchWell, okay I looked at this again and realized if this were implemented it could easily turn your site into a spam machine (well, up to 255 characters of e-mail addresses at a time). It would allow the end-user to enter many e-mail addresses into a single field, and then all of them would receive e-mails. Right now Webform is specifically designed to prevent such unintentional mass-emailing.
This wouldn't be a bad problem is specifically applied to select lists (where Drupal prevents the end-user from tinkering with the entered values). However I'm not interested in implementing this as a built-in feature. You can accomplish a similar goal by using the Additional Validation field, see the Webform Handbook for some examples.
Comment #6
quicksketchAs described above, this is not planned on being added.
Comment #7
koyama commentedAccording to a comment in the documentation it works to separate the email addresses by commas.
http://drupal.org/node/273806#comment-1845060
Would it be possible to clarify what is working and what is not working?
Comment #8
quicksketchThis feature actually *was* implemented as part of #284487: filter_xss incorrectly called on array?, and has been available since the 2.4 version.