.. java:import:: org.motechproject.email.contract Mail EmailSenderService ================== .. java:package:: org.motechproject.email.service :noindex: .. java:type:: public interface EmailSenderService The \ ``EmailSenderService``\ interface provides a method for sending email. Methods ------- send ^^^^ .. java:method:: void send(Mail message) :outertype: EmailSenderService Attempts to send the supplied email message. Adds an \ :java:ref:`org.motechproject.email.domain.EmailRecord`\ entry to the log with the details of the activity. :param message: the message to send :throws MailException: if an error occurs when attempting to send the message