public interface ISendMailConfiguration
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBadMailDirectory()
Get the directory where mails that could not be sent are archived.
|
java.lang.String |
getCommandDirectory()
Get the directory where commands can be passed to the send-mail service.
|
java.lang.String |
getDefaultSenderAddress()
Get the address of the default sender.
|
java.lang.String |
getDefaultSenderName()
Get the name of the default sender.
|
long |
getFirstRetryInterval() |
java.lang.String |
getFixedRecipientAddress()
Get an optional fixed recipient address.
|
long |
getLimitMaxMailFileSize()
Get the approximate maximum size of a message that can be sent.
|
int |
getLimitMaxSentMessagesPerSession()
Get the maximum number of messages that can be sent
before a new SMTP session is being established.
|
int |
getMaxRetriesCount() |
java.lang.String |
getPassword()
Get the password used for SMTP authentication.
|
java.lang.String |
getPickupDirectory()
Get the pickup mail directory, i.e.
|
java.lang.String |
getProtocol()
Get the protocol that is used to send mail, i.e.
|
java.lang.String |
getQueueDirectory()
Get the directory where mails are queued for delivery.
|
long |
getSecondRetryInterval() |
java.util.Map<java.lang.String,java.lang.String> |
getSendMailProperties()
Get the send-mail properties.
|
java.lang.String |
getSentMailDirectory()
Get the directory where mails that have been sent are archived
if
archiveSentMail is true . |
long |
getSleepInterval()
An internally used sleep interval.
|
java.lang.String |
getSmtpHost()
Get the SMTP host that is used for sending mail.
|
int |
getSmtpPort()
Get the SMTP port used for sending mail.
|
java.util.Map<java.lang.String,java.lang.String> |
getSmtpProviderProperties()
Get the SMTP provider properties.
|
long |
getSubsequentRetryInterval() |
java.lang.String |
getTemporaryDirectory()
Get the temporary mail directory, i.e.
|
long |
getThirdRetryInterval() |
java.lang.String |
getUser()
Get the user name used for SMTP authentication.
|
boolean |
isArchiveSentMail()
This property determines if sent mail should be archived in the
sentMailDirectory . |
boolean |
isLogSuccess()
This property determines if sending success should be logged.
|
boolean |
isLogSuccessSubject()
This property determines if sending success should be logged with the message subject.
|
boolean |
isSendBadMailWorkflowEvent()
This property determines a workflow event should be sent if a mail
could not be sent and has been moved to the archive for unsent mail.
|
boolean |
isUsesAuthentication()
This property determines if the SMTP server needs authentication.
|
java.lang.String getDefaultSenderAddress()
java.lang.String getDefaultSenderName()
long getSleepInterval()
java.lang.String getTemporaryDirectory()
See de.uplanet.lucy.sendmail.pickupDirectory
.
java.lang.String getPickupDirectory()
See de.uplanet.lucy.sendmail.temporaryDirectory
.
java.lang.String getQueueDirectory()
See de.uplanet.lucy.sendmail.queueDirectory
.
java.lang.String getBadMailDirectory()
See de.uplanet.lucy.sendmail.badMailDirectory
.
java.lang.String getSentMailDirectory()
archiveSentMail
is true
.
See de.uplanet.lucy.sendmail.sentMailDirectory
.
java.lang.String getCommandDirectory()
See de.uplanet.lucy.sendmail.commandDirectory
.
boolean isArchiveSentMail()
sentMailDirectory
.
See de.uplanet.lucy.sendmail.archiveSentMail
.
true
if sent mails should be archived, or false
otherwise.java.lang.String getProtocol()
smtp
,
or smtps
.boolean isUsesAuthentication()
true
if the SMTP server needs authentication,
or false
otherwise.java.lang.String getUser()
java.lang.String getPassword()
java.util.Map<java.lang.String,java.lang.String> getSendMailProperties()
java.util.Map<java.lang.String,java.lang.String> getSmtpProviderProperties()
The property names start with mail.smtp.
if SMTP is used,
and mail.smtps.
if SMTPS is used.
java.lang.String getSmtpHost()
int getSmtpPort()
int getLimitMaxSentMessagesPerSession()
See de.uplanet.lucy.sendmail.limit.maxMailsPerSession
.
long getLimitMaxMailFileSize()
See de.uplanet.lucy.sendmail.limit.maxMailFileSize
.
java.lang.String getFixedRecipientAddress()
If this recipient address is specified, all e-mails will be sent to this recipient regardless of the addresses specified in the To, Cc, and Bcc header fields.
See de.uplanet.lucy.sendmail.fixedRecipientAddress
.
null
.int getMaxRetriesCount()
long getFirstRetryInterval()
long getSecondRetryInterval()
long getThirdRetryInterval()
long getSubsequentRetryInterval()
boolean isLogSuccess()
See de.uplanet.lucy.sendmail.logging.logSuccess
.
true
if sending success should be logged, or false
otherwise.boolean isLogSuccessSubject()
See de.uplanet.lucy.sendmail.logging.logSuccess.subject
.
true
if sending success should be logged with the message subject,
or false
otherwise.boolean isSendBadMailWorkflowEvent()
See de.uplanet.lucy.sendmail.workflow.sendBadMailEvent
.
true
if a workflow event should be sent, or false
otherwise.