@StableMinor(version="9.0", sinceVersion="4.0") public interface IMailBody
Modifier and Type | Method and Description |
---|---|
Collection<IMailAttachment> |
getAttachments()
Returns a collection of attachments for this mail.
|
String |
getHtmlMsg()
The HTML message in the body, or null if
there is no HTML message.
|
String |
getTextMsg()
Returns the text message in the body, or null
if there is no text message.
|
void |
setHtmlMsg(String htmlMsg)
Sets the HTML message in the body.
|
void |
setTextMsg(String textMsg)
Sets the text message for this mail.
|
Collection<IMailAttachment> getAttachments()
ISendMailManager.createMailAttachment()
String getHtmlMsg()
The value returned has all relative paths converted into absolute paths
using the PortalContext.getFrameworkUrl()
to compose all paths.
Absolute paths are not changed. The persisted original value is not changed.
getTextMsg()
void setHtmlMsg(String htmlMsg)
getHtmlMsg()
.htmlMsg
- the HTML message value to set.setTextMsg(String)
,
getHtmlMsg()
String getTextMsg()
getHtmlMsg()
void setTextMsg(String textMsg)
textMsg
- the text message value.getTextMsg()
,
setHtmlMsg(String)
Lumisportal 9.0.0.160603 - Copyright © 2006–2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.