EmailAPI
EmailAPI is a simple API for sending emails. If you've ever wanted to easily send an email within a plugin, EmailAPI abstracts away the complicated stuff and gives one simple class. Learn how to use it here.

EmailAPI is a simple API for sending emails. If you've ever wanted to easily send an email within a plugin, EmailAPI abstracts away the complicated stuff and gives one simple class. Learn how to use it here.

-
View User Profile
-
Send Message
Posted Jul 2, 2014@ferrago
I don't mind what happens with the source. Feel free to do as you wish.
-
View User Profile
-
Send Message
Posted Jun 30, 2014@PogoStick29 Don't suppose this is open sourced?
-
View User Profile
-
Send Message
Posted Jun 28, 2014I have just updated EmailAPI. I removed the old files, tutorial, and description and redid all of it. Once the new version 1.0 is approved, you can actually write emails.
-
View User Profile
-
Send Message
Posted Apr 27, 2013Hello sry for my bad englisch. Used please my API its worked for me. I have developed as a Plugin! The Api is very big about the important functions is really easy to understand
the true parameter is for ssl authentification when you wish not ssl authentification use either false or you can exclude the parameter. and 25 is the smtp port. WBukkitEmailEssentialsAPI.getWEmail().email("smtp.creativeloper.de", 25, true, "user@example.com", "mypassword", "receiver@send.com", "This is my subject", "This is my body!");
http://demon-craft.de/download/WBukkitEmailEssentialsAPI.jar
-
View User Profile
-
Send Message
Posted Feb 1, 2013ANY SIMPLE PLUGIN?
Need command like /register <yourmail>
ONLY THAT PLS HELP!!!!!
-
View User Profile
-
Send Message
Posted Feb 1, 2013@PogoStick29
PLEASE update as soon as possible! I need the API!!!
-
View User Profile
-
Send Message
Posted Jan 20, 2013EmailAPI is not working right now. Stand by for an update.
-
View User Profile
-
Send Message
Posted Jan 6, 2013Quick question : Has anyone just made a simple plugin using this that just bounces an email to a list of email addresses when someone logs in? I have a pretty big need for that right about now - just didn't know if someone did it already (I've been searching).
-
View User Profile
-
Send Message
Posted Dec 30, 2012Hmm, I'm getting this error. I've installed the plugin in my plugins library and in /plugins map.
-
View User Profile
-
Send Message
Posted Dec 30, 2012@PogoStick29
I'm not making any specific implementation suggestion as Java isn't my area of expertise. I am concerned that if I write a plugin that uses this and it sends a mail while the server is running, the server will be unable to complete any other task until the message is sent. If the recieving mail server is being slow, this could seriously affect game play.
This documentation does not specifically say the method is non-blocking. http://javamail.kenai.com/nonav/javadocs/javax/mail/Transport.html#send(javax.mail.Message)
This post seems to suggest that sending mail could be done using a runnable as new thread, and that it may be prudent to do so. http://www.jguru.com/forums/view.jsp?EID=391220
-
View User Profile
-
Send Message
Posted Dec 29, 2012@zangetsu_MG
Are you saying I should make a class that implements Runnable and have it start that thread?
-
View User Profile
-
Send Message
Posted Dec 27, 2012Is this a blocking or non-blocking call?
More specifically, when emailapi.email is called, does execution return immediately allowing the server to continue uninterrupted while the mail message is sent by a background worker thread?
-
View User Profile
-
Send Message
Posted Dec 13, 2012The API wont work for me :/
-
View User Profile
-
Send Message
Posted Nov 25, 2012@javoris767
I responded to your thread ;)
-
View User Profile
-
Send Message
Posted Nov 24, 2012Getting startup errors :/
Error: http://pastebin.com/e4G3FABu
Code: http://pastebin.com/XZEfDB3q
-
View User Profile
-
Send Message
Posted Nov 24, 2012<3 Thanks soooo much for this.
-
View User Profile
-
Send Message
Posted Nov 14, 2012@KeybordPiano459
The username and password are for the account you are using to send the email.
-
View User Profile
-
Send Message
Posted Nov 12, 2012So I'm testing this on a server, and when I type the command, it says a huge stack trace in console, along with password not accepted. Does the username/password have to be the email that is sending the email, or the one receiving the email?
-
View User Profile
-
Send Message
Posted Nov 12, 2012Wait nevermind, just realized that you have support for all emails, just need to find the SMTP server D:
-
View User Profile
-
Send Message
Posted Nov 12, 2012Can you add support for texts? For example, sending an email to [number]@txt.att.net texts that number, and I think it would be awesome if EmailAPI had this feature. I'm a developer, and I'm trying to incorporate this in a private plugin for my friends and I to use.