I have no idea if it’s possible online, but you can do it in-app.
1. Launch the Mobile Legends app.
2. Tap on your profile picture > Account Settings > Switch Account > Moonton
3. Tap the “Forgot Password?” link.
4. Type in your registered email address, then tap Submit.
If the email is not in your inbox, check it in your junk or spam folder.