Skip to main content
Participant
April 11, 2008
Answered

CFMAIL and FORM submit

  • April 11, 2008
  • 3 replies
  • 585 views
I am using PayPal to process member payments through a form. Unfortunately the information collected by PayPal is not sufficient to meet all of my needs. I can get the additional information from a cfquery of my database and want it email to myself when the member clicks the PayPal (submit) button - i.e. generate the email ONLY IF the submit button is clicked

Is there a way to do this?

If it requires scripting I would appreciate a sample script as my scripting capabilities are very limited.
This topic has been closed for replies.
Correct answer BKBK
280844 wrote:
... email to myself when the member clicks the PayPal (submit) button - i.e. generate the email ONLY IF the submit button is clicked

Then simply use cfmail on the form's action page to send mail to yourself.

3 replies

280844Author
Participant
April 14, 2008
Thanks to you both for your suggestions. Tried both ideas and went with the one from BKBK. Works great.
BKBK
Community Expert
BKBKCommunity ExpertCorrect answer
Community Expert
April 12, 2008
280844 wrote:
... email to myself when the member clicks the PayPal (submit) button - i.e. generate the email ONLY IF the submit button is clicked

Then simply use cfmail on the form's action page to send mail to yourself.

Inspiring
April 12, 2008
Submit your form to your own page that does whatever you need doing and then cflocate to paypal.