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>
- 6 comments
- 6 comments
- Reply
- #6
ThoLav Apr 19, 2013 at 06:36 UTC - 0 likesHi,
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.
It works fine with this settings on my own ubuntu root server.
Have a nice day,
Thomas
http://nightevolution.de
- Reply
- #5
IndigoParadox Mar 13, 2013 at 03:50 UTC - 0 likesAn error occurred; please contact an Admin.
Why?
- Reply
- #4
Jonny42G Mar 09, 2013 at 00:32 UTC - 0 likesi 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
- Reply
- #3
mastalol Mar 06, 2013 at 00:22 UTC - 0 likesI am getting java.lang.NoClassDefFoundError: javax/mail/MessagingException
my mail is in the lib folder ...
- Reply
- #2
jonybob21 Mar 05, 2013 at 22:14 UTC - 0 likes@byakuya06: Go
also here
An error ocurred; Please contact the admin
- Reply
- #1
byakuya06 Mar 03, 2013 at 11:36 UTC - 0 likesI 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?