@Singleton public class PostmarkEmailComposer extends java.lang.Object implements EmailComposer<com.wildbit.java.postmark.client.data.model.message.Message>
Message
given an Email
.Constructor and Description |
---|
PostmarkEmailComposer(PostmarkConfiguration postmarkConfiguration) |
Modifier and Type | Method and Description |
---|---|
com.wildbit.java.postmark.client.data.model.message.Message |
compose(@NotNull @Valid Email email) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compose
public PostmarkEmailComposer(PostmarkConfiguration postmarkConfiguration)
postmarkConfiguration
- Postmark configuration@NonNull public com.wildbit.java.postmark.client.data.model.message.Message compose(@NonNull @NotNull @Valid @NotNull @Valid Email email) throws EmailException
compose
in interface EmailComposer<com.wildbit.java.postmark.client.data.model.message.Message>
EmailException