Hi Ramachandran,
There is a module available for forget password in mendix marketplace make use of it.
https://marketplace.mendix.com/link/component/1296
Thanks.