I am not able to send email to new users to create account for them in metabase

I am not able to send email to new users to create account for them

Hi @havala
You'll need to setup email configuration before Metabase can send emails:
https://www.metabase.com/docs/latest/configuring-metabase/email

I had set up previously and also was able to send email to new users.
But now I get a message stating an email has been sent to user with login credentials. Technically the user donot receive an email.
image

@havala

  1. Post "Diagnostic Info" from Admin > Troubleshooting.
  2. Check the logs for further details - Admin > Troubleshooting > Logs.

{
"browser-info": {
"language": "de-DE",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.17+8",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.17",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.17+8",
"os.name": "Linux",
"os.version": "4.14.296-222.539.amzn2.x86_64",
"user.language": "en",
"user.timezone": "UTC"
},
"metabase-info": {
"databases": [
"redshift",
"h2",
"mysql"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "10.21"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.5.0"
}
},
"run-mode": "prod",
"version": {
"date": "2022-12-07",
"tag": "v0.45.1",
"branch": "release-x.45.x",
"hash": "019d31c"
},
"settings": {
"report-timezone": null
}
}
}

I am not able to set up a new email as well.

@havala Check the logs for further details - Admin > Troubleshooting > Logs.
I'm guessing that something changed on your SMTP server, which broke the email functionality.

[d3821b8d-175e-4edf-b1aa-1ae001770143] 2022-12-23T14:56:31+01:00 DEBUG metabase.server.middleware.log PUT /api/email 400 11.7 s (0 DB calls)
{:errors {:email-smtp-username "Wrong username or password", :email-smtp-password "Wrong username or password"}}

Is it possible if i simply give a new username and password?

@havala Ask whoever is managing your SMTP server for the updated credentials and then change that in Metabase.