IMapiMessageItem

public interface IMapiMessageItem

Base interface for all message items in Outlook

Methods

MethodDescription
getBody()Gets message body
getMessageClass()Gets message class
getSubject()Gets message subject
getSupportedType()Gets the supported item type.
setBody(String value)Gets message body
setSubject(String value)Gets message subject

getBody()

public abstract String getBody()

Gets message body

Returns: java.lang.String

getMessageClass()

public abstract String getMessageClass()

Gets message class

Returns: java.lang.String

getSubject()

public abstract String getSubject()

Gets message subject

Returns: java.lang.String

getSupportedType()

public abstract int getSupportedType()

Gets the supported item type.

Value: The MapiItemType.

Returns: int

setBody(String value)

public abstract void setBody(String value)

Gets message body

Parameters:

ParameterTypeDescription
valuejava.lang.String

setSubject(String value)

public abstract void setSubject(String value)

Gets message subject

Parameters:

ParameterTypeDescription
valuejava.lang.String