EmailSenderService¶
- public interface EmailSenderService¶
The EmailSenderService interface provides a method for sending email.
Methods¶
send¶
- void send(Mail message)¶
Attempts to send the supplied email message. Adds an org.motechproject.email.domain.EmailRecord entry to the log with the details of the activity.
Parameters: - message – the message to send
Throws: - MailException – if an error occurs when attempting to send the message