@StableMinor(version="12.0", sinceVersion="4.0") public interface IBaseMail extends IMailSendStatus
ISingleMail
,
IMultipleMail
,
ISendMailManager
Modifier and Type | Field and Description |
---|---|
static int |
MAIL_TYPE_MULTIPLE
Indicates the mail is a multiple mail, i.e.
|
static int |
MAIL_TYPE_SINGLE
Indicates the mail is a single mail.
|
STATUS_SEND_PENDING, STATUS_SENDING, STATUS_SENT_ERROR, STATUS_SENT_OK
Modifier and Type | Method and Description |
---|---|
IMailBody |
getBody()
Returns the body of this mail.
|
String |
getCharset()
Returns the charset of this mail.
|
String |
getFrom()
Returns the from field of this mail.
|
String |
getId()
Returns the id of this mail.
|
String |
getMailLoggingString()
Returns a String used for logging this mail.
|
int |
getMailType()
Returns the type of this mail.
|
String |
getReplyTo()
Returns the reply to field of this mail.
|
Date |
getRequestDateTime()
Returns the date this mail has been requested to be sent.
|
String |
getSourceComponent()
Returns the string describing the source component for this mail request.
|
String |
getSourceComponentStringsUrl()
Returns the strings url prefix for translating
getSourceComponent() . |
String |
getSubject()
Returns the subject of this mail.
|
void |
setCharset(String charset)
Sets the chartset of this mail.
|
void |
setFrom(String from)
Sets the from field of this mail.
|
void |
setReplyTo(String replyTo)
Sets the reply to field of this mail.
|
void |
setSourceComponent(String sourceComponent)
Sets the string describing the source component for this mail request.
|
void |
setSourceComponentStringsUrl(String sourceComponentStrings)
Sets the strings url prefix for translating
getSourceComponent() . |
void |
setSubject(String subject)
Sets the subject of this mail.
|
getErrorMessage, getSentDateTime, getStatus, setErrorMessage, setSentDateTime, setStatus
static final int MAIL_TYPE_SINGLE
static final int MAIL_TYPE_MULTIPLE
Date getRequestDateTime()
IMailBody getBody()
String getCharset()
void setCharset(String charset)
charset
- the charset.String getFrom()
void setFrom(String from)
from
- the from field value.String getId()
String getReplyTo()
void setReplyTo(String replyTo)
replyTo
- the reply to field value.String getSubject()
void setSubject(String subject)
subject
- the subject value.String getSourceComponent()
getSourceComponentStringsUrl()
void setSourceComponent(String sourceComponent)
sourceComponent
- the string value.setSourceComponentStringsUrl(String)
String getSourceComponentStringsUrl()
getSourceComponent()
.getSourceComponent()
.void setSourceComponentStringsUrl(String sourceComponentStrings)
getSourceComponent()
.sourceComponentStrings
- the value to set.setSourceComponent(String)
int getMailType()
MAIL_TYPE_SINGLE
,
MAIL_TYPE_MULTIPLE
String getMailLoggingString()
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.