Closed (fixed)
Project:
Webform
Version:
5.x-1.10
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2008 at 16:47 UTC
Updated:
11 May 2008 at 05:46 UTC
Hi..
I don't want to display my bank details on the website so I'm looking for a way to send my bank a/c details to the user when he submits a form...
like just a simple form asking for e-mail id and when u click submit.. a auto-reply mail is sent??
can it be done using this module??
Comments
Comment #1
quicksketchYou can use the drupal_mail() function in the additional submission code to send a basic e-mail not containing any of the submitted data if you like.
http://api.drupal.org/api/function/drupal_mail/5
Comment #2
dayson commentedbut how do i know the e-mail id im sending it to... ???
coz the user will give his e-mail through the form right??
Comment #3
quicksketchIn the additional validation field, you can access user submitted values in the $form_values['submitted_tree'] variable. There are some similar examples you can use from the Webform handbook page: http://drupal.org/handbook/modules/webform. They're for validation but the submission code uses the same format.
Please use complete sentences, capitalization, and spelling when posting to the issue queues.
Comment #4
mikepetersonwi commentedpercypais,
I'm looking for a similar solution and ran across the Contact Forms module at: http://drupal.org/node/187234, you might want to check it out before making a decision.
Mikep
Comment #5
quicksketchClosing after lack of activity.