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

closed as unclear what you're asking by Vijay Ganji, Mr.Frodo, glls, Pranay Jaiswal, battery.cord Jun 14 at 14:00

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



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.