It would be handy to have an email field by which to send copies of a form to other than the "hard-coded" destination. The field should allow for multiple emails separated by commas whereby each would be in a cc: in the email.
An example of usage:
Attorney fills in form to request a court setting date.
The form is sent to the court coordinator for approval -- it's like making a reservation, sort of.
A copy of the request must go to every other attorney of record (who has email ... and most do).
Court coordinator approves, disapproves, or approves the setting with modifications and does a "reply all" to notify the group.
Webform is great. I'm experimenting with the cvs version on a 4.5.2 system.
gil
Comments
Comment #1
ullgren commentedA good way to implement this would be to add a "Send CC" checkbox to the email component.
Checking this would also send webforms submissions to the address entered in the field.
It would be good with a warning telling the user to think twice before enabeling this feature since this would enable a way to send spam.
Comment #2
Capnj commentedUllgren said:
It would be good with a warning telling the user to think twice before
enabeling this feature since this would enable a way to send spam.
Good thought. Maybe also have the ability to set the maximum number of emails that could be cc'd in this way? My application would need less than 10 in 99% of the instances and the form is accessible only by authenticated users. Idea: if the cc function is enabled, disallow anonymous users from inputting to that field.
End of my ideas. I've looked at the module but have no clue how to modify for this.
Anyone else think this is a good function?
gil
Comment #3
ullgren commentedMy thought just was to have a warning text in the admin view that "if you enable CC:ing the submission to a email address supplied by the user you shouldn't make it available to anonymous users (or it will most probably be used for evil)".
Comment #4
Capnj commentedAny further thought or progress on the cc: idea?
gil
Comment #5
Capnj commentedAnother thought about cc fields.
Instead of a long cc field with addresses separated by commas, how about building an array similarly to the way the phptemplate allows getting more fields for the primary and secondary links. A workflow somthing like this:
-- in the design phase, pick a cc field type (this could also be applied to the TO and BCC fields concept) and specify width
when the form is used:
-- one field pops up -- fill in email address, maybe also name
-- button to get another cc field, or maybe 2 or 3 at a time
-- fill those in
-- do DONE on adding emails
The module then builds a cc multiple address and sends to all.
I don't think this would be subject to being used for spamming -- too much manual input to be worth it.
gil
Comment #6
ullgren commentedThe CC-option I'm thinking about would be a extra checkbox on the email component.
If the checkbox is checked a copy of the email send by webform is going to the address the user specified in the email component field.
Comment #7
Capnj commentedIf I am understanding the intent of the checkbox, I assume it would allow entering only a single CC address?
Not that I expect this to be designed around me but my need is for entering multiple addresses. If the concern is spam use, then I think two things could defeat that:
1 -- create an array of, say, 3 pairs of fields for NAME and EMAIL. Allow the ability to ask for more pairs as is done in the primary and secondary links in the phpTemplate engine.
2 -- adjacent to the submit button, use a captcha which must be entered before the input will be accepted.
Comment #8
stevryn commentedAny new news on this? I use webform for an extremely important ordering system here at work....lunch! :)
The email gets sent to the guy who handles our friday lunch food ordering who tallies all the costs (would be nice to know how to make this happen automatically :) ) I would like to see the submitter get an email as well. This is an internal site, no outside users.
Comment #9
ullgren commentedIn CVS I've now added a check box to the email comonent that allows you to send a CC to the specified email address.
Comment #10
quicksketch