send mail on clicking ecart's "Submit Order" button
How can I send an email on a confirm.php (ecart) when the "Submit Order" button is clicked? The trigger "Button: Submit_order pressed" doesn't work. In the meantime I selected the trigger "any form post" but that's a bad solution because there is also the "Modify Information" button on the form and, last but not least, every time when the page is loaded the trigger is fired.
I use the PayPal Express Checkout. Hitting the "Submit Order" button redirects to PayPal.
Many thanks in advance.
Peter