TheBest Posted August 29, 2013 Posted August 29, 2013 Hello all How can I make Oscommerce to send admin an email notification when a new customer creats an account ? Thanks Quote
Bob Terveuren Posted August 29, 2013 Posted August 29, 2013 Hi I used this in a 2.2 store but 2.3.x can't be much different - go to the code for create_account.php and in there you'll find a chunk that looks similar to this: tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); That sends the welcome email to the customer If you copy and paste that below itself and then swap around the code a little you can alse send it to yourself tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $email_text, $name, $email_address); Quote
TheBest Posted August 29, 2013 Author Posted August 29, 2013 Hi I used this in a 2.2 store but 2.3.x can't be much different - go to the code for create_account.php and in there you'll find a chunk that looks similar to this: tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); That sends the welcome email to the customer If you copy and paste that below itself and then swap around the code a little you can alse send it to yourself tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $email_text, $name, $email_address); Thank you Bob. I will try it out :-) Petter Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.