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.
Gradle build file
Maven pom file
Import the MailSlurp package and configure the API key.
Create an email account in Java
Use the inbox controller to create new inboxes: