Class TinyMailServiceProp

    • Constructor Detail

      • TinyMailServiceProp

        TinyMailServiceProp()
    • Method Detail

      • getMaxFail

         int getMaxFail()

        max failures for the same email.

      • setMaxFail

         void setMaxFail(int maxFail)

        max failures for the same email.

      • getMaxDone

         int getMaxDone()

        max success for the same email.

      • setMaxDone

         void setMaxDone(int maxDone)

        max success for the same email.

      • getMaxNext

         Duration getMaxNext()

        the email does not need to be sent anymore as it has been a certain amount of time. default 1 day.

      • setMaxNext

         void setMaxNext(Duration maxNext)

        the email does not need to be sent anymore as it has been a certain amount of time. default 1 day.

      • setTryNext

         void setTryNext(Duration tryNext)

        how soon to retry after failure, default 1 minute.

      • getBatchSize

         int getBatchSize()

        max number of bulk emails sent at one time.

      • setBatchSize

         void setBatchSize(int batchSize)

        max number of bulk emails sent at one time.

      • getWarnSize

         int getWarnSize()

        if this capacity is exceeded, log it as Warn.

      • setWarnSize

         void setWarnSize(int warnSize)

        if this capacity is exceeded, log it as Warn.

      • getBootScan

         Duration getBootScan()

        how long after start, scan for unsent mail, `0` for no scan.

      • setBootScan

         void setBootScan(Duration bootScan)

        how long after start, scan for unsent mail, `0` for no scan.

      • isOnlyApp

         boolean isOnlyApp()

        whether to send emails from this app only.

      • isOnlyRun

         boolean isOnlyRun()

        whether to send emails from this RumMode only.

      • setOnlyApp

         void setOnlyApp(boolean onlyApp)

        whether to send emails from this app only.

      • setOnlyRun

         void setOnlyRun(boolean onlyRun)

        whether to send emails from this RumMode only.