AuthMe Reloaded

How to configure Email Recovery System

Download Dependency

Put that in your lib folder ( where the craftbukkit.jar is )
JavaMail - API

#Put your EMAIL's informations here :
Email:
    mailSMTP: smtp.gmail.com #The Smtp server, by default gmail smtp
    mailPort: 465 #SMTP server port, default : 465
    mailAccount: '' #Your email account for example : example@gmail.com
    mailPassword: '' #Your email password
    mailSenderName: ''#Who is the sender? Just put the name here, for example , your server name!
    RecoveryPasswordLength: 8 #How long must be the generated password

That's all !

Your player can now use the command :
/email recovery <his@email.com>
Or add an email with:
/email add <mail> <confirmMail>

You must login to post a comment. Don't have an account? Register to get one!

  • 6 comments
  • Avatar of ThoLav ThoLav Apr 19, 2013 at 06:36 UTC - 0 likes

    Hi,

    do you have mail.jar in your lib folder, like mentioned above? If you have, try port 25 because most email server use port 25 instead of 465/587 for smtp.

    mailPort: 25
    

    It works fine with this settings on my own ubuntu root server.

    Last edited Apr 19, 2013 by ThoLav: typos

    Have a nice day,
    Thomas

    http://nightevolution.de

  • Avatar of IndigoParadox IndigoParadox Mar 13, 2013 at 03:50 UTC - 0 likes

    An error occurred; please contact an Admin.

    Why?

  • Avatar of Jonny42G Jonny42G Mar 09, 2013 at 00:32 UTC - 0 likes

    i have everything set up sql  table email pop smtp ect.
    no error codes nothing just
      "an error ocurred: please contact admin"
    after anyone tries to add email confirm email

    even tried it on a fresh no plugin server for test

    any ideas

  • Avatar of mastalol mastalol Mar 06, 2013 at 00:22 UTC - 0 likes

    I am getting java.lang.NoClassDefFoundError: javax/mail/MessagingException

    my mail is in the lib folder ...

  • Avatar of jonybob21 jonybob21 Mar 05, 2013 at 22:14 UTC - 0 likes

    @byakuya06: Go

    also here

    An error ocurred; Please contact the admin

  • Avatar of byakuya06 byakuya06 Mar 03, 2013 at 11:36 UTC - 0 likes

    I wasn't able to set this up correctly. I enabled email registration at line 68 ( enableEmailRegistrationSystem: true)

    Then, I made az email address on gmail, and I entered the things as in the example above.

    I tried to register with email, I entered /register my@emailaddress.com and it wanted me to login after that (I guess, with the password sent in email). I didn't get an email, I checked spam folder too.

    When I tried to enter /email recover my@emailaddress instead of login, it told me 'An error ocurred; Please contact the admin'. I put that JavaMail jar file, where my craftbukkit.jar is. Is that correct?

    What is the problem? Is it related to my server host maybe?

  • 6 comments

Table of contents

  1. 1 Download Dependency

Facts

Date created
Jan 25, 2013
Last updated
Feb 08, 2013

Author