[Minecraft] Problem z konfiguracją maili we wtyczce AuthMe

Mam problem z konfiguracją maili we wtyczce AuthMeReloaded. Pisałem już taki post, ale o nim zapomniałem i został zamknięty.

Fragment z config.yml:

Email:
    # Email SMTP server host
    mailSMTP: smtp.gmail.com
    # Email SMTP server port
    mailPort: 465
    # Only affects port 25: enable TLS/STARTTLS?
    useTls: true
    # Email account which sends the mails
    mailAccount: 'mójadresemail@gmail.com'
    # Email account password
    mailPassword: 'mojehasło'
    # Email address, fill when mailAccount is not the email address of the account
    mailAddress: 'mójadresemail@gmail.com'
    # Custom sender name, replacing the mailAccount name in the email
    mailSenderName: 'nazwaserwera'
    # Recovery password length
    RecoveryPasswordLength: 8
    # Mail Subject
    mailSubject: Twoje nowe hasło do konta
    # Like maxRegPerIP but with email
    maxRegPerEmail: 1
    # Recall players to add an email?
    recallPlayers: false
    # Delay in minute for the recall scheduler
    delayRecall: 5
    # Blacklist these domains for emails
    emailBlacklisted: 
    - 10minutemail.com
    # Whitelist ONLY these domains for emails
    emailWhitelisted: []
    # Send the new password drawn in an image?
    generateImage: true
    # The OAuth2 token
    emailOauth2Token: ''

Fragment z pliku authme.log:

[06-10 22:15:30]: [WARN] Failed to send a mail to [zeetg.help@gmail.com]: [EmailException]: Sending the email to the following server failed : smtp.gmail.com:465
[06-10 22:15:30]: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.gmail.com:465
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1469)
at org.apache.commons.mail.Email.send(Email.java:1496)
at fr.xephi.authme.mail.SendMailSsl.sendEmail(SendMailSsl.java:103)
at fr.xephi.authme.command.executable.authme.debug.TestEmailSender.sendTestEmail(TestEmailSender.java:120)
at fr.xephi.authme.command.executable.authme.debug.TestEmailSender.execute(TestEmailSender.java:58)
at fr.xephi.authme.command.executable.authme.debug.DebugCommand.executeSection(DebugCommand.java:66)
at fr.xephi.authme.command.executable.authme.debug.DebugCommand.executeCommand(DebugCommand.java:40)
at fr.xephi.authme.command.CommandHandler.executeCommand(CommandHandler.java:122)
at fr.xephi.authme.command.CommandHandler.handleCommandResult(CommandHandler.java:81)
at fr.xephi.authme.command.CommandHandler.processCommand(CommandHandler.java:68)
at fr.xephi.authme.AuthMe.onCommand(AuthMe.java:335)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152)
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685)
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:648)
at net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:463)
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:424)
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: javax.mail.AuthenticationFailedException: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor q5sm3915542wmc.0 - gsmtp

at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:932)
at com.sun.mail.smtp.SMTPTransport.authenticate(SMTPTransport.java:843)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:748)
at javax.mail.Service.connect(Service.java:388)
at javax.mail.Service.connect(Service.java:246)
at javax.mail.Service.connect(Service.java:195)
at javax.mail.Transport.send0(Transport.java:254)
at javax.mail.Transport.send(Transport.java:124)
at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1459)
… 19 more

Informacja z konsoli:
image

Informacja podczas próby odzyskania hasła:

Z tego co kojarzę, aby korzystać w ten sposób z poczty gmail, musisz utworzyć do niej osobne hasła.

To chyba robiło się tutaj:
https://myaccount.google.com/apppasswords

1 polubienie

Jakie urządzenie powinienem wybrać?
image

Podejrzewam że inna opcja, spróbuj i zobacz.

1 polubienie