Closed 05678 closed 2 months ago
I also tried using zoho smtp servers, but the error is the same
Oh and sry, here is the error from the log: [04-22 22:06:40]: [WARN] Failed to send a mail to [05678.soulitegames@gmail.com]: [EmailException]: Sending the email to the following server failed : smtp.163.com:465 [04-22 22:06:40]: fr.xephi.authme.libs.org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.163.com:465 at fr.xephi.authme.libs.org.apache.commons.mail.Email.sendMimeMessage(Email.java:1298) at fr.xephi.authme.libs.org.apache.commons.mail.Email.send(Email.java:1282) at fr.xephi.authme.mail.SendMailSsl.sendEmail(SendMailSsl.java:106) at fr.xephi.authme.mail.EmailService.sendShutDown(EmailService.java:166) at fr.xephi.authme.AuthMe.onDisable(AuthMe.java:401) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:360) at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:427) at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:420) at org.bukkit.craftbukkit.v1_8_R3.CraftServer.disablePlugins(CraftServer.java:348) at net.minecraft.server.v1_8_R3.MinecraftServer.stop(MinecraftServer.java:423) at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:619) at java.lang.Thread.run(Thread.java:748) Caused by: fr.xephi.authme.libs.javax.mail.NoSuchProviderException: smtp at fr.xephi.authme.libs.javax.mail.Session.getService(Session.java:842) at fr.xephi.authme.libs.javax.mail.Session.getTransport(Session.java:772) at fr.xephi.authme.libs.javax.mail.Session.getTransport(Session.java:713) at fr.xephi.authme.libs.javax.mail.Session.getTransport(Session.java:693) at fr.xephi.authme.libs.javax.mail.Session.getTransport(Session.java:750) at fr.xephi.authme.libs.javax.mail.Transport.send0(Transport.java:225) at fr.xephi.authme.libs.javax.mail.Transport.send(Transport.java:100) at fr.xephi.authme.libs.org.apache.commons.mail.Email.sendMimeMessage(Email.java:1295) ... 12 more
Which email service your account biztonsag@ryzenmc.hu
is using as the backend(Not the config file) ? You should change the SMTP server address match your email service.
If this email service is set up by yourself, you should change the SMTP server to ur own.
The email is created on zoho, but I also tried the service in it, with tls and without, also changing the ports, but nothing helped.
The config I tried:
mailSMTP: smtppro.zoho.eu
# Email SMTP server port
mailPort: 587
# Only affects port 25: enable TLS/STARTTLS?
useTls: true
# Email account which sends the mails
mailAccount: biztonsag@ryzenmc.hu
# Email account password
mailPassword: xk3b6NoA1eoUQW6pf49MtN20wcSLWb$
# Email address, fill when mailAccount is not the email address of the account
mailAddress: ''
# Custom sender name, replacing the mailAccount name in the email
mailSenderName: RyzenMC
And the error (the same): [04-23 07:34:15]: [WARN] Failed to send a mail to [05678.soulitegames@gmail.com]: [EmailException]: Sending the email to the following server failed : smtppro.zoho.eu:587 [04-23 07:34:15]: fr.xephi.authme.libs.org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtppro.zoho.eu:587 at fr.xephi.authme.libs.org.apache.commons.mail.Email.sendMimeMessage(Email.java:1298) at fr.xephi.authme.libs.org.apache.commons.mail.Email.send(Email.java:1282) at fr.xephi.authme.mail.SendMailSsl.sendEmail(SendMailSsl.java:106) at fr.xephi.authme.mail.EmailService.sendShutDown(EmailService.java:166) at fr.xephi.authme.AuthMe.onDisable(AuthMe.java:401) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:360) at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:427) at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:420) at org.bukkit.craftbukkit.v1_8_R3.CraftServer.disablePlugins(CraftServer.java:348) at net.minecraft.server.v1_8_R3.MinecraftServer.stop(MinecraftServer.java:423) at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:619) at java.lang.Thread.run(Thread.java:748) Caused by: fr.xephi.authme.libs.javax.mail.NoSuchProviderException: smtp at fr.xephi.authme.libs.javax.mail.Session.getService(Session.java:842) at fr.xephi.authme.libs.javax.mail.Session.getTransport(Session.java:772) at fr.xephi.authme.libs.javax.mail.Session.getTransport(Session.java:713) at fr.xephi.authme.libs.javax.mail.Session.getTransport(Session.java:693) at fr.xephi.authme.libs.javax.mail.Session.getTransport(Session.java:750) at fr.xephi.authme.libs.javax.mail.Transport.send0(Transport.java:225) at fr.xephi.authme.libs.javax.mail.Transport.send(Transport.java:100) at fr.xephi.authme.libs.org.apache.commons.mail.Email.sendMimeMessage(Email.java:1295) ... 12 more
https://www.zoho.com/mail/help/zoho-smtp.html Have you configured mail settings with this doc?
Yes I do
This config is workimg fine in the official authme
https://github.com/HaHaWTH/AuthMeReReloaded/actions/runs/8804266695
Try this version
The problem is still the same
You can try to send me an email with that biztonsag@ryzenmc.hu to 05678.soulitegames@gmail.com
You can try to send me an email with that biztonsag@ryzenmc.hu to 05678.soulitegames@gmail.com
Were all email features broken including Email Registration? Or just shutdown mail sending?
All the things are broken
All the things are broken
Works on original AuthMe, right?
Yes I tried it
Fixed, now works properly
Thank you!
What behaviour is observed?
When I try to use the shutdown email function, this error appears in the console: [AuthMe] Failed to send a mail to [05678.soulitegames@gmail.com]: [EmailException]: Sending the email to the following server failed : smtp.163.com:465
My config:
Email SMTP server host
Expected behaviour
I get the email
To Reproduce
.
Plugin list
Only the authmerereloaded
Server Implementation
Standalone(Spigot)
Database Implementation
MariaDB
AuthMe Version
5.6.0 (latest)
Error log (if applicable)
.
Configuration
.