I'm working on shop where the customers will be imported by CSV, new customers will have NO password (password_hash = "").
The administrator will have to activate the new customers using the backend.
If a customer becomes activated, a random password should be generated and it should be included in the mail.
What I need to know is just where I find the code where the email will be sent. The code of the email template is "customer_create_account_email_template".
It's not the sendNewAccountEmail()
method in app/code/core/Customer/Model/Customer.php
and it's not either successProcessRegistration()
in app/code/core/Customer/controllers/AccountController.php
.