Class PdfferMailerProps

java.lang.Object
org.nekosoft.pdffer.props.PdfferMailerProps

@ConfigurationProperties(prefix="pdffer.mailer") @ConstructorBinding public class PdfferMailerProps extends Object
A Property POJO that reflects the configuration of the mailer bean.
  • Constructor Details

    • PdfferMailerProps

      public PdfferMailerProps(EmailAddressInfo sendFrom, EmailAddressInfo replyTo, SmtpServerInfo smtp)
      Instantiates a new Pdffer mailer props.
      Parameters:
      sendFrom - the default email address that will be used as the sender for the emails sent by PDFfer
      replyTo - the default email address that will be used as the reply-to header for the emails sent by PDFfer
      smtp - the settings of the SMTP server that will be used to send email messages from PDFfer
  • Method Details

    • getSendFrom

      public EmailAddressInfo getSendFrom()
      Gets the default email address that will be used as the sender for the emails sent by PDFfer.
      Returns:
      the default email address that will be used as the sender
    • getReplyTo

      public EmailAddressInfo getReplyTo()
      Gets the default email address that will be used as the reply-to header for the emails sent by PDFfer.
      Returns:
      the default email address that will be used as the reply-to header
    • getSmtp

      public SmtpServerInfo getSmtp()
      Gets the settings of the SMTP server that will be used to send email messages from PDFfer.
      Returns:
      the settings of the SMTP server