Mail Setup In metabase

When I setting up SMTP email in metabase using TLS , Its showing me Sorry, something went wrong. Please try again. and it is not save my data and I am unable to send mail.

Hi @rahul1
Which version of Metabase?
Do you see a more detailed error in the log? Admin > Troubleshooting > Logs
Which SMTP provider are you trying to connect to - one of the big ones?

Hello @flamber,

Thanks for your reply, kindly check below details.

Version - v0.32.9
SMTP provider - mail.modi.com
Error in the log - In attachement---

@rahul1
Well, it says that files are missing in Java - specifically ... jre/lib/resources.jar - which then causes problems with class java.net.IDN.

You should probably install your version of Java.

Could you post the output of the following commands to show more information about your Java:

# Java version and architecture
 java -version
# Java variable configuration
 echo $JAVA_HOME
# Java path configuration
 echo $PATH | grep --color=never -oe "/usr/lib/jvm/[^:]*"

java -version -1.8.0_222

echo $JAVA_HOME It gives me blank output.

@rahul1 Make sure that Java is properly installed.

echo $JAVA_HOME now it gives me /usr/lib/jvm/jre

@rahul1 Okay, does that mean it’s working now?
I’m using Oracle Java, so mine looks like this:

$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
$ echo $PATH | grep --color=never -oe "/usr/lib/jvm/[^:]*"
/usr/lib/jvm/java-8-oracle/bin
/usr/lib/jvm/java-8-oracle/db/bin
/usr/lib/jvm/java-8-oracle/jre/bin