Our Java SDK is here! Integrate Lettermint into your Java applications and send transactional emails and broadcast emails with just a few lines of code.
Java is widely used for backend development and enterprise applications. With our SDK you can get started right away without building raw HTTP requests or configuring SMTP. Add the dependency to your project and you're good to go.
The SDK supports all our standard features like attachments, tags, metadata and idempotency keys. Webhook signature verification is included as well.
Here's an example:
import co.lettermint.Lettermint;
Lettermint lettermint = new Lettermint("your-api-token");
SendEmailResponse response = lettermint.email()
.from("sender@example.com")
.to("recipient@example.com")
.subject("Hello from Lettermint")
.html("<p>Hello World!</p>")
.send();
The SDK requires Java 8 or higher and is available on Maven Central. You can install it with Maven or Gradle.
- Check out the Java SDK on GitHub
- Read the documentation at docs.lettermint.co
Besides Java, we also have SDKs for PHP, Laravel, Node.js, Python and Go.