Jump to content
Sign in to follow this  
magic_man64

New Customer Email

Recommended Posts

Hello All,

 

Im looking to modify osC so t hat everytime a new customer signs up for an account, I will receive an email telling me there name, email, etc, etc, etc.

 

I did find ONE in the contributions, however, I do not understand it as the text in the file is in 2 giant lines with no spaces, etc.

 

Could some one send me a CLEAR and READABLE version of this??

 

Thanks,

Aaron

Share this post


Link to post
Share on other sites

first checkout your functions in your admin area

ADMIN > CONFIG > My Store > Send Extra Order Emails To

 

now in catalog/create_account.php

 

find:

tep_mail

 

modify for your own usage:

 

tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_NAME, STORE_OWNER_EMAIL_ADDRESS);

 

if (SEND_EXTRA_NEW_EMAILS_TO != '') {

tep_mail($name, SEND_EXTRA_NEW_EMAILS_TO, 'New Account: ' . EMAIL_SUBJECT, $email_text .

"\n" . "\n" .

'Office Use:' . "\t" . "\n" .

'IP Address:' . "\t" . $REMOTE_ADDR . "\n" .

'Host Address:' . "\t" . gethostbyaddr($REMOTE_ADDR) . "\n" ,

STORE_NAME, STORE_OWNER_EMAIL_ADDRESS);

}


Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×