Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to get email notification when a new customer account


TheBest

Recommended Posts

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);

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...