|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="5.5", sinceVersion="4.0") public interface IMailConfig
Stores the configuration for the sendmail component.
Method Summary | |
---|---|
int |
getBlockInterval()
Returns the interval, in seconds, to wait when a block of getBlockSize() mails are sent. |
int |
getBlockSize()
Returns the block size. |
String |
getDefaultFromAddress()
Returns the default from e-mail address, that will be used if no from is specified for a e-mail to be sent. |
String |
getMailSenderClass()
Returns the class that should be used for sending mails. |
int |
getMaxSendThreads()
Returns the maximum number of threads to process the sendmail queue. |
int |
getQueueLockTimeout()
Returns the time in seconds for mail queue lock timeout. |
boolean |
getRemoveMailsSent()
Returns true if mails sent successfully should be automatically removed from the database. |
int |
getSendInterval()
Returns the interval, in seconds, to wait between each mail send in a thread processing the sendmail queue. |
String |
getSmtpHost()
Returns the smtp server hostname. |
String |
getSmtpPassword()
Returns the smtp server authentication password. |
int |
getSmtpPort()
Returns the smtp server connection port. |
String |
getSmtpUser()
Returns the smtp server authentication user. |
void |
setBlockInterval(int blockInterval)
Sets the interval, in seconds, to wait when a block of getBlockSize() mails are sent. |
void |
setBlockSize(int blockSize)
Sets the block size. |
void |
setDefaultFromAddress(String defaultFromAddress)
Sets the default from address. |
void |
setMailSenderClass(String className)
Sets the class that should be used for sending mails. |
void |
setMaxSendThreads(int maxSendThreads)
Sets the maximum number of threads to process the sendmail queue. |
void |
setQueueLockTimeout(int queueLockTimeout)
Sets the time in seconds for mail queue lock timeout. |
void |
setRemoveMailsSent(boolean remove)
Sets if mails sent successfully should be automatically removed from the database. |
void |
setSendInterval(int sendInterval)
Sets the interval, in seconds, to wait between each mail send in a thread processing the sendmail queue. |
void |
setSmtpHost(String smtpHost)
Sets the smtp server hostname. |
void |
setSmtpPassword(String smtpPassword)
Sets the smtp server authentication password. |
void |
setSmtpPort(int smtpPort)
Sets the smtp server connection port. |
void |
setSmtpUser(String smtpUser)
Sets the smtp server authentication user. |
Method Detail |
---|
int getQueueLockTimeout()
void setQueueLockTimeout(int queueLockTimeout)
queueLockTimeout
- the value to set.getQueueLockTimeout()
boolean getRemoveMailsSent()
void setRemoveMailsSent(boolean remove)
remove
- the value to set.int getBlockInterval()
getBlockSize()
mails are sent.
void setBlockInterval(int blockInterval)
getBlockSize()
mails are sent.
blockInterval
- the interval value to set.int getBlockSize()
void setBlockSize(int blockSize)
blockSize
- the block size value.getBlockSize()
String getDefaultFromAddress()
void setDefaultFromAddress(String defaultFromAddress)
defaultFromAddress
- the default from address.getDefaultFromAddress()
int getMaxSendThreads()
void setMaxSendThreads(int maxSendThreads)
maxSendThreads
- the value to set.int getSendInterval()
void setSendInterval(int sendInterval)
sendInterval
- the interval, in seconds.String getSmtpHost()
void setSmtpHost(String smtpHost)
smtpHost
- the value to set.String getSmtpPassword()
void setSmtpPassword(String smtpPassword)
smtpPassword
- the password value.int getSmtpPort()
void setSmtpPort(int smtpPort)
smtpHost
- the value to set.String getSmtpUser()
void setSmtpUser(String smtpUser)
smtpUser
- the smtp server authentication user,
or null if no authentication is to be used.String getMailSenderClass()
IMailSender
.
void setMailSenderClass(String className)
IMailSender
.
className
- the class name to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |