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



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.

| improve this answer | |

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