@StableMinor(version="12.2", sinceVersion="4.0") public interface IMailSendStatus
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_SEND_PENDING
Status code that indicates the sending is pending.
|
static int |
STATUS_SENDING
Status code that indicates the sending is in progress.
|
static int |
STATUS_SENT_ERROR
Status code that indicates the sending was tried but was unsucessful.
|
static int |
STATUS_SENT_OK
Status code that indicates the sending was completed successfully.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorMessage()
Returns the error message of the last try to send the mail.
|
Date |
getSentDateTime()
Returns the datetime of the last try to send the mail.
|
int |
getStatus()
Returns the status of the sending of the mail.
|
void |
setErrorMessage(String msg)
Sets the error message of the last try to send the mail.
|
void |
setSentDateTime(Date sentDate)
Sets the datetime of the last try to send the mail.
|
void |
setStatus(int status)
Sets the sending status of the mail.
|
static final int STATUS_SEND_PENDING
getStatus()
,
Constant Field Valuesstatic final int STATUS_SENDING
getStatus()
,
Constant Field Valuesstatic final int STATUS_SENT_OK
getStatus()
,
Constant Field Valuesstatic final int STATUS_SENT_ERROR
getStatus()
,
getErrorMessage()
,
Constant Field ValuesDate getSentDateTime()
void setSentDateTime(Date sentDate)
sentDate
- the datetime value to set.int getStatus()
STATUS_SEND_PENDING
,
STATUS_SENDING
,
STATUS_SENT_OK
,
STATUS_SENT_ERROR
void setStatus(int status)
status
- the status value to set.STATUS_SEND_PENDING
,
STATUS_SENDING
,
STATUS_SENT_OK
,
STATUS_SENT_ERROR
String getErrorMessage()
void setErrorMessage(String msg)
msg
- the error message to set.LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.