EmailSenderService¶
-
public interface
EmailSenderService
¶ The
EmailSenderService
interface provides a method for sending email.
Methods¶
send¶
-
void
send
(String fromAddress, String toAddress, String subject, String 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: - fromAddress – the email address of the sender
- toAddress – the email address of the recipient
- subject – the subject of the email
- message – the body of the email