Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFMAIL and FORM submit

New Here ,
Apr 11, 2008 Apr 11, 2008
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.
TOPICS
Advanced techniques
551
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 12, 2008 Apr 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.

Translate
LEGEND ,
Apr 11, 2008 Apr 11, 2008
Submit your form to your own page that does whatever you need doing and then cflocate to paypal.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 12, 2008 Apr 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 13, 2008 Apr 13, 2008
LATEST
Thanks to you both for your suggestions. Tried both ideas and went with the one from BKBK. Works great.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources