Tutorials
Email and SMS guides for automation and testing.
Integrate email functions easily with MailSlurp Java SDK- send and receive emails/attachments in Java, Kotlin, Groovy, and Clojure with no SMTP servers.
Create email addresses in Java using MailSlurp's official JVM SDK. Send and receive emails and attachments in Java, Kotlin, Groovy, Clojure and other JVM languages. MailSlurp lets you use real email in code and tests without need for SMTP mail servers.Fo
For docs see the JavaDoc website.
You can install MailSlurp's email library from maven central.
A basic usage of MailSlurp is to create a disposable test email account for testing. First configure your client with an API key that you can obtain from the MailSlurp dashboard.
Import the MailSlurp package and configure the API key.
Use the inbox controller to create new inboxes:
Email and SMS guides for automation and testing.
View github project code for multiple languages.
Latest posts from the MailSlurp team.
Try a free MailSlurp account.
Test, build, and automate messaging with a free MailSlurp account.