lumis.portal.sendmail
Interface IMailBody

Package class diagram package IMailBody

@StableMinor(version="5.5",
             sinceVersion="4.0")
public interface IMailBody

Stores information of the mail body.

Since:
4.0.4

Method Summary
 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.
 

Method Detail

getAttachments

Collection<IMailAttachment> getAttachments()
Returns a collection of attachments for this mail. This collection may be manipulated by obtaining it using this method, and then using the collection api.

Returns:
the collection of attachments for this mail.
Since:
4.0.4
See Also:
ISendMailManager.createMailAttachment()

getHtmlMsg

String getHtmlMsg()
The html message in the body, or null if there is no html message.

Returns:
the html message in the body
Since:
4.0.4
See Also:
getTextMsg()

setHtmlMsg

void setHtmlMsg(String htmlMsg)
Sets the html message in the body.

Parameters:
htmlMsg - the html message value to set.
Since:
4.0.4
See Also:
setTextMsg(String)

getTextMsg

String getTextMsg()
Returns the text message in the body, or null if there is no text message. If a html message was also set, the text message will be used as a fallback by email clients that has no html support.

Returns:
the text message in the body.
Since:
4.0.4
See Also:
getHtmlMsg()

setTextMsg

void setTextMsg(String textMsg)
Sets the text message for this mail.

Parameters:
textMsg - the text message value.
Since:
4.0.4
See Also:
getTextMsg(), setHtmlMsg(String)


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.