com.mastfrog.email.server.EmailSendService Maven / Gradle / Ivy
package com.mastfrog.email.server;
import com.google.inject.ImplementedBy;
import java.util.Map;
import org.apache.commons.mail.Email;
/**
* Service for sending email
*
* @author Tim Boudreau
*/
@ImplementedBy(EmailSendServiceImpl.class)
public interface EmailSendService {
void send(PublishListener l, String subject, String body, Map injected, EmailAddress from, String... to);
> void send(T template, PublishListener l, String subject, String body, Map injected, EmailAddress from, String... to);
}