Java Client Library
Add the emailclue-java library and it's dependencies to your project
TODO maven central coordinates
Add the following static import to use our fluent API
import static com.emailclue.api.EmailClue.*;
Create an instance of the (thread safe) Client
private final EmailClue emailClue = emailClue("12873782347TOKEN");
Clue validationResult = emailClue.validate(
email("test@example.com")
);
emailClue.sendEmail(
fromTemplate("TEMPLATE101")
.to("dj.mabbett@gmail.com")
.cc("triumph_2500@hotmail.com")
.subject("Test Email")
.data(templateData())
);