Can't reset password. Do not get a mail

Hello. I am installed Nextcloud on my android and pc. And now i can’t login in via PC. I m trying to reset a password but I don’t get a mail. Aftet few trying i got info:
Couldn’t send reset email. Please contact your administrator.

How can I contact administrator?

How can I contact administrator?

Well you are the Administrator. Depending on how you’re installed will depend on how you get around the issue. For example if you are using the snap install you can run the occ commands using nextcloud.occ

sudo nextcloud.occ user:resetpassword Daamian
  Enter a new password:
  Confirm the new password:
  Successfully reset password for Daamian

Alternatively if you have access to the config.php you’ll can setup your email SMTP settings