Class EmailSender

All Implemented Interfaces:
AutoCloseable

public class EmailSender extends NotificationSender<EmailSender.EmailMessage>
NotificationSender implementation that sends an email notification. The output file is attached if it's available. An EmailSender instance can be configured (see init(org.apache.commons.configuration2.Configuration)) with the following Configuration properties:
  • from: The value of the From field in the emails.
  • to: The value of the To field in the emails.
  • subject: The value of the Subject field in the emails.
  • html: Whether the emails are HTML.
See also NotificationSender for the common properties available to all notification senders.