Class ReportMailSender
java.lang.Object
uk.ac.manchester.spinnaker.alloc.admin.ReportMailSender
@Component @Role(1) public class ReportMailSender extends Object
Basic email sending service.
- Author:
- Donal Fellows
-
Constructor Summary
Constructors Constructor Description ReportMailSender()
-
Method Summary
Modifier and Type Method Description void
sendServiceMail(Object email)
Send an assembled message if the service is configured to do so.
-
Constructor Details
-
ReportMailSender
public ReportMailSender()
-
-
Method Details
-
sendServiceMail
Send an assembled message if the service is configured to do so.NB: This call may take some time; do not hold a transaction open when calling this.
- Parameters:
email
- The message contents to send.
-