Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

Email Features

  1. CSF EmailService currently supports 2 types of attachment: list of File objects and list of attachments:
    • List of file objects:  use method sendEmailWithAttachments(EmailModel emailModel, List<File> attachments). There is also another method that supports attaching a file and generating email text with a velocity template.
    • List of datasource(s):  use method sendEmailWithAttachmentsFromDataSource(EmailModel emailModel, List<Datasource> attachments, Boolean useApplicationConfig).
  2. Sending bulk email (using the EmailModel object) with and without velocity templatetemplates.
  3. Pre-configured applicationContext files to be used by the application.
    • applicationContext-csf-email-component-scan.xml – the configuration file that contains scan for all email service beans.
    • applicationContext-csf-email-config.xml - the configuration file that contains all the beans defined for email Service.
    • applicationContext-csf-email-scheduler.xml – the configuration file that contains the default scheduler to send and delete emails.
    • applicationContext-csf-email.xml – the default csf-email configuration file that contains all of the above configuration files.