1
New Order,
This is easy to say, and it is set in the background.
System-> system-> sale emails-> order-> send order email copy
Write down the email address you sent!
2
New User
This magento is not set in the background. You need to modify the system file.
In the file:
/APP/code/CORE/MAGE/customer/model/customer. php
Add a method
'-> Addbcc ('your @ email. adrr ')'
Search
Sendnewaccountemail Function
Add a method addbcc () as shown below, which contains your email address:
Mage: GetModel ('Core/email_template ')
-> Setdesignconfig (Array ('area '=> 'frontend', 'store' => $ storeid ))
-> Addbcc ('your @ email. ADDR ')
-> Sendtransactional (....
Refresh the cache and test it!
Follow-up:
If you want to send an email when the order is generated, you can add it in the following way to view others'Article, Not very good, and did not find a good method, temporarily write down the record:
/APP/code/CORE/MAGE/Checkout/model/type/onepage. php]
If (! $ Redirecturl ){
Try {
$ Order-> sendneworderemail ();
} Catch (exception $ e ){
Mage: logexception ($ E );
}
Change
// If (! $ Redirecturl ){
Try {
$ Order-> sendneworderemail ();
} Catch (exception $ e ){
Mage: logexception ($ E );
//}
The consequence is that two emails are sent for one order, because one email is sent after the payment is successful,