This Contribution will send an email to the store owner every time a new customer creates an account.
It will show their Name, Address, Company, and Email Address along with a customizable note.
This is my first non-graphical Contribution so if changes or additions are needed feel free to make revisions.
Very simple install.
Legend: 
Download

Report
Same like before, only translate to Slovak and English email body
Very usefull contribution
For me is enough receive an email:
New Customer Emails withouth_MySQL (with less code to).
This Contribution will send an email to the store owner every time a new customer creates an account.
It will show their Gender, Name, Address, Company, Telephone, Email Address and Newsletter along with a customizable note.
CHANGES: the 'n' replaced with 'n'
ADDED: Gender, Telephone and Newsletter and dutch description
Actually the install is very easy...
++++++++++++++++++++++++++++++++
1. EXECUTE: the attached .sql file
++++++++++++++++++++++++++++++++
2. EDIT: /catalog/create_account.php
++++++++++++++++++++++++++++++++
AROUND line 245, AFTER:
$email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING;
tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
ADD the following:
// New Customer Emails v1.0 Start
if (SEND_NEW_CUSTOMER_EMAILS_TO != '') {
$admin_email_text = ADMIN_EMAIL_WELCOME ."n";
$admin_email_text .= ADMIN_EMAIL_TEXT ."n";
$admin_email_text .= "========================================n";
$admin_email_text .= ADMIN_EMAIL_FIRSTNAME . $firstname . "n";
$admin_email_text .= ADMIN_EMAIL_LASTNAME . $lastname . "n";
$admin_email_text .= ADMIN_EMAIL_COMPANY . $company . "n";
$admin_email_text .= ADMIN_EMAIL_CITY . $city . "n";
$admin_email_text .= ADMIN_EMAIL_EMAIL . $email_address . "n";
$admin_email_text .= EMAIL_WARNING ."n";
tep_mail(STORE_OWNER, SEND_NEW_CUSTOMER_EMAILS_TO, EMAIL_SUBJECT, nl2br($admin_email_text), $name, $email_address, '');
}
// New Customer Emails v1.0 End
++++++++++++++++++++++++++++++++
3. EDIT: /catalog/includes/kanguages/english/create_account.php
++++++++++++++++++++++++++++++++
Add the following anywhere:
// New Customer Emails v1.0
define('ADMIN_EMAIL_WELCOME', 'Hello');
define('ADMIN_EMAIL_TEXT', 'Notification of New Customer Registration:');
define('ADMIN_EMAIL_FIRSTNAME', 'Firstname:');
define('ADMIN_EMAIL_LASTNAME', 'Lastname :');
define('ADMIN_EMAIL_CITY', 'City :');
define('ADMIN_EMAIL_COMPANY', 'Company :');
define('ADMIN_EMAIL_EMAIL', 'eMail :');
=================================
Simple, complete.
There are no manual installation instructions and it's impossible to merge files, since files provided are already heavilly modified with other contributions.
Unfortunatelly, this contribution is uselless, unless some manual installation instructions can be provided.
No files to download, just this alert.
Define recipient eMail Address in the OSC Configuration
I added all files to the enclosed zip.
Changed Files:
--------------
create_account.php
includeslanguagesgermancreate_account.php
includeslanguagesenglishcreate_account.php
Changes:
--------
- The recipient eMail Address for new Customers can now be defined
in the OSC Configuration.
- I used Remigio Ruberto's changes to define the eMail-Strings:
// New Customer Emails v1.0
define('ADMIN_EMAIL_WELCOME', 'Hello');
define('ADMIN_EMAIL_TEXT', 'A new Customer has finished his registration:');
define('ADMIN_EMAIL_FIRSTNAME', 'Firstname:');
define('ADMIN_EMAIL_LASTNAME', 'Lastname :');
define('ADMIN_EMAIL_CITY', 'City :');
define('ADMIN_EMAIL_COMPANY', 'Company :');
define('ADMIN_EMAIL_EMAIL', 'eMail :');
- I translated this contribution to german
Installation:
-------------
1 - Execute "Add NewCustomereMails ToConfig.sql"
2 - Merge the other files as necessary
24.7.2006
Thomas Schittli
contains 2 files for italian version
This Contribution will send an email to the store owner every time a new customer creates an account.
It will show their Name, Address, Company, and Email Address along with a customizable note.
This is my first non-graphical Contribution so if changes or additions are needed feel free to make revisions.
Very simple install.