1and1 Help Centre Categories

print article

How can I receive an e-mail when a new customer registers?

To receive an e-mail when a new customer registers, please follow this:

Enter the following rule under: 'Settings' -> 'Advanced Settings' -> 'Basic settings' -> 'Customer settings'You can see 'Own calculations whenever a new customer registers'


$mailsubject= "New Customer Registration, customer no. ".
get_orderinfo_field('customer_number');
$mailbody = get_orderinfo_field('title').' '.
get_orderinfo_field('first_name').' '.
get_orderinfo_field('surname').
' has registered.';
mail($EMAILADRESSMERCHANT, $mailsubject, $mailbody,
"From: nowshopbetter.com <$EMAILADRESSMERCHANT>");