Reverted javax mail implementation
This commit is contained in:
parent
1f888abc12
commit
0fbeefc488
6
pom.xml
6
pom.xml
@ -206,9 +206,9 @@
|
|||||||
|
|
||||||
<!-- Java Email Implementation -->
|
<!-- Java Email Implementation -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.mail</groupId>
|
<groupId>com.sun.mail</groupId>
|
||||||
<artifactId>javax.mail-api</artifactId>
|
<artifactId>javax.mail</artifactId>
|
||||||
<version>1.5.1</version>
|
<version>1.5.4</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
|
|||||||
@ -83,6 +83,7 @@ public class RecoverEmailCommand extends ExecutableCommand {
|
|||||||
plugin.mail.main(auth, thePass);
|
plugin.mail.main(auth, thePass);
|
||||||
m.send(player, "email_send");
|
m.send(player, "email_send");
|
||||||
} catch (NoSuchAlgorithmException | NoClassDefFoundError ex) {
|
} catch (NoSuchAlgorithmException | NoClassDefFoundError ex) {
|
||||||
|
ex.printStackTrace();
|
||||||
ConsoleLogger.showError(ex.getMessage());
|
ConsoleLogger.showError(ex.getMessage());
|
||||||
m.send(sender, "error");
|
m.send(sender, "error");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user