br.com.jhonsapp.email.dispatcher.EmailDispatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of email-dispatcher Show documentation
Show all versions of email-dispatcher Show documentation
Email Dispatcher is an open source project created by Jhonys Camacho and Jhonathan Camacho to facilitate the sending of emails.
package br.com.jhonsapp.email.dispatcher;
import java.io.Serializable;
/**
* Interface responsible for dispatcher the emails.
*
* @author Jhonathan Camacho
*
*/
public interface EmailDispatcher extends Serializable {
/**
* Send email to a specific destination.
*
* @param message
* message to be send.
*
* @return true if the sending operation was successful and otherwise false.
*/
public boolean send(Message message);
}