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

quicksketch’s picture

You 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

dayson’s picture

but how do i know the e-mail id im sending it to... ???

coz the user will give his e-mail through the form right??

quicksketch’s picture

In 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.

mikepetersonwi’s picture

percypais,

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

quicksketch’s picture

Status: Active » Closed (fixed)

Closing after lack of activity.