Install
Copy
<dependency>
<groupId>dev.sendkit</groupId>
<artifactId>sendkit</artifactId>
<version>1.0.0</version>
</dependency>
Send email
Copy
import dev.sendkit.SendKit;
import dev.sendkit.Emails;
import java.util.List;
SendKit client = new SendKit("sk_your_api_key");
Emails.SendEmailResponse response = client.emails().send(
new Emails.SendEmailParams(
"Your Name <you@yourdomain.com>",
List.of("recipient@example.com"),
"Hello from SendKit"
).html("<h1>Welcome!</h1><p>Your first email with SendKit.</p>")
);
System.out.println("Email sent: " + response.getId());

