Have any suggestion on how improve this wiki? Please give us your feedback at csf-support@mit.edu
Need to know the configurable properties for csf-email? Go to The project .properties file properties for more information.
Quick Links to:
1. Introduction
The CSF Email Service is a module in CSF to handle various functions related to sending emails to a single or group of recipients.
The implementation will include all the methods in the existing EmailServiceImpl in CSF common-legacy. New methods are added to
handle the bulk email and email preview functionality. The EmailServiceImpl is not annotated so it has to be configured in one
of the application Context files in the web application. It is not annotated so we can inject the ApplicationConfiguration for
those web applications that are using sais-common.
2. Dependencies
2.1 CSF base
We will utilize CSF base module to obtain the application configuration information.
3. Object Model
3.1 Class Diagram
A new domain class EmailModel will be created to hold all the fields in an email message.
This diagram represents the domain class EmailModel.
3.2 Class Description.
3.2.1 EmailModel
This is the domain class that represents an Email Message object. It contains the following fields:
- emailFrom – the email address of the sender
- emailSubject – the subject of the email
- emailTos – the list of email addresses of those who will be sent a copy of the email
- emailCC – the list of email addresses of those will get a cc copy of the email.
- emailBcc – the list of email addresses of those will get a bcc copy of the email.
- emailReportRecipient – the list of email addresses of those who will get a copy of the summary report.
- emailText – the content of the email.