Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Receiving an email after user have registered


AntD

Recommended Posts

Posted

Please can someone tell me how to get an email send to my inbox with all info once a user has registered on my site. At present (running latest vers) only an email is send out to the user. However, i need an email that will give me details on all the users info that was filled out in the form to be kept for my records. It seems to only add the users info to the database.

 

Oh yeah, while i'm at it, is there also a way to send another email to me once a user has changed or updated his/her settings after registering.

 

Thanx a mill!

Posted

In create_account.php, you can either edit this line to include your email address:

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

or you can add another tep_mail command, changing $name and $email_address to values that are appropriate.

 

Good luck,

Matt

Posted

Thanx for the info, but will this send all users info to my email address or just Name and email. I need all info that appears on the form to be sent to me.

 

Thanx!

Posted

It will send you whatever is in $email_text. If you need more information, you should add it to $email_text before calling this. If you use two separate calls, you could add additional information in between the calls, e.g.

$email_text .= "An account detail:  " . $variable_that_holds_it . "n";

Hth,

Matt

Posted

Me again, ok, i was able to send all info i need on the customer to their email address - which is great, the only other prob i'm having is sending the email to my email address as well.. sort off like a cc to me.

 

I've tried adding my email but still i only receive the email that is initially send to the customer thanking them for joining.

 

Sorry, :oops: still a bit of a newbe to php so if anyone can help me or let me know where i can change or add my email address, and how - it will be much appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...