|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="4.1", sinceVersion="4.0") public interface IMailSendStatus
Stores information about the sending situation of a mail.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
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 ValuesMethod Detail |
---|
Date 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |