Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdminAddress()
All emails go to this address if
getSendAllToAdmin() is enabled, regardless of actual recipient. |
int |
getDefaultSendingAttemptsCount()
Max number of attempts to send a message, after which the message's status is set to NOT_SENT.
|
int |
getDelayCallCount()
How many scheduler ticks to skip after server startup.
|
java.lang.String |
getEmailerUserLogin()
User login used by asynchronous sending mechanism to be able to store information in the database.
|
java.lang.String |
getFromAddress()
Default "from" address
|
int |
getMessageQueueCapacity()
Scheduler will process no more than given number of queued messages per every scheduler tick.
|
boolean |
getSendAllToAdmin()
If this parameter is set to true, all email messages go to
getAdminAddress() . |
int |
getSendingTimeoutSec()
Timeout in seconds for message in
SendingStatus.SENDING status
to be successfully sent or failed. |
boolean |
getSmtpAuthRequired()
Whether to authenticate on SMTP server.
|
int |
getSmtpConnectionTimeoutSec()
SMTP connection timeout value in seconds.
|
java.lang.String |
getSmtpHost()
SMTP server address.
|
java.lang.String |
getSmtpPassword()
User password for the SMTP server authentication.
|
int |
getSmtpPort()
SMTP server port.
|
boolean |
getSmtpSslEnabled()
If set to true, use SSL to connect
|
boolean |
getSmtpStarttlsEnable()
Whether to use STARTTLS command during the SMTP server authentication.
|
int |
getSmtpTimeoutSec()
SMTP I/O timeout value in seconds.
|
java.lang.String |
getSmtpUser()
User name for the SMTP server authentication.
|
boolean |
isFileStorageUsed()
When turned on, email body text and attachments will be stored in file storage
instead of BLOB columns in database.
|
void |
setAdminAddress(java.lang.String adminAddress) |
void |
setDelayCallCount(int delayCallCount) |
void |
setFileStorageUsed(boolean fileStorageUsed) |
void |
setFromAddress(java.lang.String fromAddress) |
void |
setSendAllToAdmin(boolean sendAllToAdmin) |
void |
setSmtpAuthRequired(boolean smtpAuthRequired) |
void |
setSmtpConnectionTimeoutSec(int smtpConnectionTimeoutSec) |
void |
setSmtpHost(java.lang.String smtpHost) |
void |
setSmtpPort(int smtpPort) |
void |
setSmtpSslEnabled(boolean smtpSslEnabled) |
void |
setSmtpStarttlsEnable(boolean smtpStarttlsEnable) |
void |
setSmtpTimeoutSec(int smtpTimeoutSec) |
void |
setSmtpUser(java.lang.String smtpUser) |
@Default(value="DoNotReply@localhost") java.lang.String getFromAddress()
void setFromAddress(java.lang.String fromAddress)
void setSmtpHost(java.lang.String smtpHost)
void setSmtpPort(int smtpPort)
boolean getSmtpAuthRequired()
void setSmtpAuthRequired(boolean smtpAuthRequired)
boolean getSmtpStarttlsEnable()
void setSmtpStarttlsEnable(boolean smtpStarttlsEnable)
java.lang.String getSmtpUser()
void setSmtpUser(java.lang.String smtpUser)
java.lang.String getSmtpPassword()
int getSmtpConnectionTimeoutSec()
void setSmtpConnectionTimeoutSec(int smtpConnectionTimeoutSec)
boolean getSmtpSslEnabled()
void setSmtpSslEnabled(boolean smtpSslEnabled)
int getSmtpTimeoutSec()
void setSmtpTimeoutSec(int smtpTimeoutSec)
@Default(value="2") int getDelayCallCount()
void setDelayCallCount(int delayCallCount)
@Default(value="100") int getMessageQueueCapacity()
int getDefaultSendingAttemptsCount()
int getSendingTimeoutSec()
SendingStatus.SENDING
status
to be successfully sent or failed. After this time passes, emailer will try to resend email again.@Default(value="admin@localhost") java.lang.String getAdminAddress()
getSendAllToAdmin()
is enabled, regardless of actual recipient.void setAdminAddress(java.lang.String adminAddress)
boolean getSendAllToAdmin()
getAdminAddress()
.void setSendAllToAdmin(boolean sendAllToAdmin)
boolean isFileStorageUsed()
void setFileStorageUsed(boolean fileStorageUsed)