Class MailjetEmailComposer

java.lang.Object
io.micronaut.email.mailjet.MailjetEmailComposer
All Implemented Interfaces:
EmailComposer<com.mailjet.client.MailjetRequest>

@Singleton public class MailjetEmailComposer extends Object implements EmailComposer<com.mailjet.client.MailjetRequest>
Composes a MailjetRequest given an Email.
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • MailjetEmailComposer

      public MailjetEmailComposer()
  • Method Details

    • compose

      @NonNull public @NonNull com.mailjet.client.MailjetRequest compose(@NonNull @NotNull @Valid @NonNull @NotNull @Valid Email email) throws EmailException
      Specified by:
      compose in interface EmailComposer<com.mailjet.client.MailjetRequest>
      Throws:
      EmailException