EmailSenderServiceinterface provides a method for sending email.
send(String fromAddress, String toAddress, String subject, String message)¶
Attempts to send the supplied email message. Adds an
org.motechproject.email.domain.EmailRecordentry to the log with the details of the activity.
- 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