All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io._57blocks.email.EmailService Maven / Gradle / Ivy

Go to download

Email service based on spring-boot and provide an easy way to integrate spring-mail or aws ses.

There is a newer version: 0.2.0
Show newest version
package io._57blocks.email;

import java.util.Locale;
import java.util.Map;
import javax.mail.MessagingException;

public interface EmailService {

  void sendTextEmail(String fromEmail, String template, Locale locale,
      Map ctx, String... recipientEmails)
      throws MessagingException;

  void sendTextEmailWithAttachments(String fromEmail, String template, Locale locale,
      Map ctx, Attachment[] attachments, String... recipientEmails)
      throws MessagingException;

  void sendHtmlEmail(String fromEmail, String template, Locale locale,
      Map ctx, String... recipientEmails)
      throws MessagingException;

  void sendHtmlEmailWithAttachments(String fromEmail, String template, Locale locale,
      Map ctx, Attachment[] attachments, String... recipientEmails)
      throws MessagingException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy