Unable to reset a user's password from login page

Hi. I’ve just set up my own NextCloud server on an Ubuntu virtual machine. I followed an instruction but when I tried to reset the password from login page, there isn’t an email sending to my mail address. Here are my steps:

  1. Set up NextCloud server from GitHub - kma-custom-nextcloud/server
  2. Install to receive token program: curl https://raw.githubusercontent.com/kma-custom-nextcloud/vgca-nextcoloud/main/bootstrap.sh | bash
  3. Configure Nginx
    Btw, in the step 2, can you tell me why it needs a token program? Thank you all.

Can you post your email configuration (anonymized) in config/config.php

I logged in as an admin and add a user with the email.

I think we are talking at cross purposes. Can your Nextcloud send system emails at all?

I have installed Nginx for it.

I logged in
Nginx

email is SMTP.
Your smtp settings in config/config.php?