Closed (fixed)
Project:
Webform
Version:
6.x-2.7
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 04:00 UTC
Updated:
26 Jan 2010 at 05:31 UTC
How do I change what is sent to the person who submits the webform?
Currently it contains a link to where they can "see" the submission but due to permissions they cannot see it. And I do not want them to see it because it would mean that anyone can see it.
Anyway, I want to change the email that is sent out. How do I do this?
Comments
Comment #1
rahulbile commentedI am also searching for the same...
any help is appreciated .....
Comment #2
rahulbile commentedHey i got it working.
you can refer : http://www.impossible.co.in/drupal/webform
When u add a email field, do not check the " E-mail a submission copy " checkbox.
Instead in the webform form settings i'e " Webform advanced settings -> Additional Processing: " add the below code.
in $to, we get the email address of the email field, filled by the user.
Code :
and u r done. This is how we can send the customized email to the submitter.
Rahul Bile
http://www.impossible.co.in
Comment #3
annalina614 commentedAWESOME! Thanks :-D
Now my only question is how do I turn off the default email to the submitter without altering the email to my employees?
Comment #4
rahulbile commentedI have used the same in one of my project and seems to be working fine.
Regarding ur query, as i have written before
"When u add a email field, do not check the " E-mail a submission copy " checkbox. in settings "
Due to this no mail will be send to the submitter.
Comment #5
elijah lynnI am having trouble getting this to work. The name of my field is in fact "email", I changed the from, reply-to and subject parts but it isn't sending me a version of the form submission. Anything else I am doing wrong?
Comment #6
rahulbile commentedhello elijah,
The email is the key of the email field in the advance settings of the field. Let me know if it works for you.
Comment #7
quicksketchThanks for your help rahul.bile. I'd like to note that the 3.x version of Webform has per-email templates built into the interface which should help with this problem in the future.
I'm closing this issue as it seems to be resolved.