i implemented the logic for generating Reset Password Custom Email Template for custom portal user in Apex. once the user reset the password from FrontEnd(PHP Form) using UserName now our code generate the reset password Custom Email Template but this time system also generate the Standard ResetPassword Email Template. how can we prevent the Standard Email Template generated by System. pls help

  • what method you have used in apex for reset password? If its resetpassword an attribute can be set to achieve this functionality Commented May 21, 2013 at 11:36
  • Thanks for your response Mohith. i am using System.ResetPasswordResult SR= System.resetPassword(userObj.id, TRUE); this mehthod working properly. apex generated email template successfully but that system also generated standard template that is the problem.
    – kittu
    Commented May 21, 2013 at 14:22
  • 1
    set the attribute to false...setting it to false will supress standard email i feel Commented May 21, 2013 at 17:37

1 Answer 1




Setting the second parameter to false will stop the triggering of standard email.

  • Thanks Mohith your idea working successfully..... Thanks Kittu
    – kittu
    Commented May 22, 2013 at 6:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .