Class MailerConfig

java.lang.Object
com.saperion.ngc.mail.MailerConfig

public final class MailerConfig extends Object
Configuration for the mailing options.
Since:
7.5
Author:
art
  • Method Details

    • getMailSendType

      public static MailSendType getMailSendType()
      Returns:
      configured mail send type
    • isMailAppletNeeded

      public static boolean isMailAppletNeeded()
      Returns:
      if mailer applet is needed true, otherwise false
    • getMailLinkType

      public static MailLinkType getMailLinkType()
      Returns:
      configured link type
    • getMailSubject

      public static String getMailSubject()
      Returns:
      configured mail subject
    • getMailBody

      public static String getMailBody()
      Returns:
      configured mail body
    • getMailPdfFilename

      public static String getMailPdfFilename()
      Returns:
      configured PDF file name
    • getMailZipFilename

      public static String getMailZipFilename()
      Returns:
      configured ZIP file name
    • getRestUrl

      public static String getRestUrl()
      Returns:
      configured URL for the REST webservices
    • reload

      public static void reload()
      Read configured values from scratch.
    • getLinkTimeout

      public static long getLinkTimeout()
      Returns:
      configured link timeout