Class SMTPClientConfig
java.lang.Object
org.summerboot.jexpress.boot.config.BootConfig
org.summerboot.jexpress.integration.smtp.SMTPClientConfig
- All Implemented Interfaces:
JExpressConfig
Volatile Bean Pattern
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SMTPClientConfigprotected intprotected booleanprotected Stringprotected Stringprotected intprotected booleanprotected Stringprotected StringFields inherited from class org.summerboot.jexpress.boot.config.BootConfig
cfgFile, configName, logger -
Method Summary
Modifier and TypeMethodDescriptionintjakarta.mail.Sessionprotected voidloadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) static voidvoidshutdown()Methods inherited from class org.summerboot.jexpress.boot.config.BootConfig
generateTemplate, getCfgFile, info, instance, load, loadField, name, reset, temp, updateConfigFile, updateFilePath
-
Field Details
-
cfg
-
smtpHost
@ConfigHeader(title="1. SMTP Settings") @Config(key="mail.smtp.host") protected volatile String smtpHost -
smtpPort
-
smtpAuth
-
smtpStarttls
-
smtpUserDisplayName
-
smtpUser
-
smtpPassword
-
emailToAppSupport
-
emailToDevelopment
-
emailToReportViewer
-
emailAlertDebouncingInterval
-
-
Method Details
-
main
-
shutdown
public void shutdown() -
loadCustomizedConfigs
protected void loadCustomizedConfigs(File cfgFile, boolean isReal, ConfigUtil helper, Properties props) - Specified by:
loadCustomizedConfigsin classBootConfig
-
getMailSession
public jakarta.mail.Session getMailSession() -
getEmailToAppSupport
-
getEmailToDevelopment
-
getEmailToReportViewer
-
getEmailAlertDebouncingInterval
public int getEmailAlertDebouncingInterval()
-