Function ''SendResetPasswordMail()''

Top  Previous  Next

Sends an e-mail that contains the reset password link to the user that has forgotten his password. The SMTP account and the mail text are specified in the SecurityDomain properties.

Syntax:

SendResetPasswordMail(user-name,email,reset-password-page)

 

 

Parameters:

user-name
email

One of these two parameters must be non-blank.

reset-password-page

The page to open when the user clicks on the link provided in the email. This page should contain a "ResetPassword" element.

 

 

Completion Codes:

 0: Normal completion

12: Syntax error or Security Broker error

 

Example:

SendResetPasswordMail(username,email,'ChangePasswordPage')