0

I have to send a custom email template with System.resetpassword() method. Is it possible?

1

Yes.

You can use System.resetPasswordWithEmailTemplate(userId, sendUserEmail, emailTemplateName) in such scenarios. This method lets you specify the email template to be used while sending the email to the User.

Not the answer you're looking for? Browse other questions tagged or ask your own question.