Reverted javax mail implementation

This commit is contained in:
Tim Visée 2015-11-01 23:16:09 +01:00
parent 1f888abc12
commit 0fbeefc488
2 changed files with 4 additions and 3 deletions

View File

@ -206,9 +206,9 @@
<!-- Java Email Implementation -->
<dependency>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<version>1.5.1</version>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.5.4</version>
<scope>compile</scope>
<exclusions>
<exclusion>

View File

@ -83,6 +83,7 @@ public class RecoverEmailCommand extends ExecutableCommand {
plugin.mail.main(auth, thePass);
m.send(player, "email_send");
} catch (NoSuchAlgorithmException | NoClassDefFoundError ex) {
ex.printStackTrace();
ConsoleLogger.showError(ex.getMessage());
m.send(sender, "error");
}