Hi to all out there :)
I am using a php script in order to send to a customers group an email with their new credentials.
The command that I use and sends the email is below:
$customer->sendNewAccountEmail();
This sents an email to a customer and uses the template called "New Account"
The question is that I have created a new custom template called Send password to Resellers template
So how can I run this command
$customer->sendNewAccountEmail();
but use my new template?