element <messageContent> (local)
Namespace:
Type:
Content:
complex, 1 attribute, 24 elements, elem. wildcard
Defined:
locally within messageType complexType in myInbox.xsd; see XML source
XML Representation Summary
<messageContent
   
 = 
xsd:nonNegativeInteger
   
>
   
Content: 
</messageContent>
Content model elements (24):
account (type refType), attachment (type attachmentType), cat (type hs:catType), containsAdultContent (in messageContent in message in myInbox), conversationId (type conversationIdType), conversationIndex (type conversationIndexType), dateReceived (in messageContent in message in myInbox), dateSent (in messageContent in message in myInbox), from (type emailType), hasAttachments (type xsd:boolean), htmlBody (type htmlBodyType), importance (type importanceType), isJunkMail (in messageContent in message in myInbox), messagePart (in messageContent in message in myInbox), messageType (in messageContent in message in myInbox), plainBody (type xsd:string), preview (type hs:localizableString), raw2822Content (type xsd:base64Binary), raw2822Headers (type xsd:base64Binary), recipient (in messageContent in message in myInbox), sensitivity (type sensitivityType), single2822Header (type single2822HeaderType), size (type xsd:unsignedLong), subject (type subjectType)
Included in content model of elements (1):
message (in myInbox)
Annotation
This element defines the content of the message. This data changes rarely in a normal application.
XML Source (see within schema source)
<xsd:element name="messageContent" type="messageContentType">
<xsd:annotation>
<xsd:documentation>
This element defines the content of the message. This data changes rarely in a normal application.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
Attribute Detail (all declarations; 1/1)
changeNumber
Type:
Use:
required
Defined:
XML Source (see within schema source)
<xsd:attribute name="changeNumber" type="changeNumberType" use="required"/>
Content Element Detail (all declarations; 25/25)
account
Type:
refType, empty content
Defined:
locally within messageContentType complexType
This element contains a reference to the /myInbox/account element that this message was sent to.
XML Source (see within schema source)
<xsd:element name="account" type="refType">
<xsd:annotation>
<xsd:documentation>
This element contains a reference to the /myInbox/account element that this message was sent to.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

attachment
Type:
attachmentType, complex content
Defined:
locally within messageContentType complexType
This element represents a mail attachment and is returned by passing the 'includeSimpleMessageViewAttachments' element in query options.
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="attachment" type="attachmentType">
<xsd:annotation>
<xsd:documentation>
This element represents a mail attachment and is returned by passing the 'includeSimpleMessageViewAttachments' element in query options.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

cat
Type:
hs:catType, empty content
Defined:
locally within messageContentType complexType
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="hs:catType"/>

containsAdultContent
Type:
xsd:boolean, predefined, simple content
Defined:
locally within messageContentType complexType
This read only element is set by the myInbox service when the message was delivered and indicates if the message was determined to contain adult content by the adult content mail filter.
XML Source (see within schema source)
<xsd:element name="containsAdultContent" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
This read only element is set by the myInbox service when the message was delivered and indicates
if the message was determined to contain adult content by the adult content mail filter.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

conversationId
Type:
conversationIdType, simple content
Defined:
locally within messageContentType complexType
This optional element identifies the 'conversation,' or e-mail thread of which this message is a part.
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="conversationId" type="conversationIdType">
<xsd:annotation>
<xsd:documentation>
This optional element identifies the 'conversation,' or e-mail thread of which this message
is a part.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

conversationIndex
Type:
conversationIndexType, simple content
Defined:
locally within messageContentType complexType
This optional element identifies the 'conversation,' or e-mail thread of which this message is a part.
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="conversationIndex" type="conversationIndexType">
<xsd:annotation>
<xsd:documentation>
This optional element identifies the 'conversation,' or e-mail thread of which this message
is a part.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

dateReceived
Type:
xsd:dateTime, predefined, simple content
Defined:
locally within messageContentType complexType
This read-only element contains the UTC date/time the message was received, and appears in all messages except ones that were sent by the user.
XML Source (see within schema source)
<xsd:element name="dateReceived" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>
This read-only element contains the UTC date/time the message was received, and
appears in all messages except ones that were sent by the user.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

dateSent
Type:
xsd:dateTime, predefined, simple content
Defined:
locally within messageContentType complexType
This read-only element contains the UTC date/time the message was sent. For /messsage/messageStatus/state="sent" messages, this element represents the time the message was sent. For /messsage/messageStatus/state="received" this element represents the time the sender sent the message.
XML Source (see within schema source)
<xsd:element name="dateSent" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>
This read-only element contains the UTC date/time the message was sent. For /messsage/messageStatus/state="sent"
messages, this element represents the time the message was sent. For /messsage/messageStatus/state="received"
this element represents the time the sender sent the message.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

from
Type:
emailType, complex content
Defined:
locally within messageContentType complexType
This read-only element describes who this message is from.
XML Source (see within schema source)
<xsd:element name="from" type="emailType">
<xsd:annotation>
<xsd:documentation>
This read-only element describes who this message is from.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

hasAttachments
Type:
xsd:boolean, predefined, simple content
Defined:
locally within messageContentType complexType
This element indicates whether a message has one or more attachments. The value will either be 0 (to indicate that the message has no attachments) or 1 (to indicate that the message has one or more attachments).
XML Source (see within schema source)
<xsd:element name="hasAttachments" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
This element indicates whether a message has one or more attachments. The value will either be 0
(to indicate that the message has no attachments) or 1 (to indicate that the message has
one or more attachments).
</xsd:documentation>
</xsd:annotation>
</xsd:element>

htmlBody
Type:
htmlBodyType, complex content
Defined:
locally within messageContentType complexType
The html body representation of the message. This element can also contain inline attachments that are related to the html content via the 'uri' element of the inline attachment. This element is returned by passing the 'includeSimpleMessageView' element in query options.
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="htmlBody" type="htmlBodyType">
<xsd:annotation>
<xsd:documentation>
The html body representation of the message. This element can also contain inline attachments that are
related to the html content via the 'uri' element of the inline attachment.
This element is returned by passing the 'includeSimpleMessageView' element in query options.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

importance
Type:
importanceType, simple content
Defined:
locally within messageContentType complexType
This element indicates the importance of this message. The value can be 'low', 'normal', or 'high'. The default is 'normal'.
XML Source (see within schema source)
<xsd:element name="importance" type="importanceType">
<xsd:annotation>
<xsd:documentation>
This element indicates the importance of this message. The value can be 'low', 'normal', or 'high'.
The default is 'normal'.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

isJunkMail
Type:
xsd:boolean, predefined, simple content
Defined:
locally within messageContentType complexType
This read only element is set by the myInbox service when the message was delivered and indicates if the message was marked as junk mail by the junk mail filter.
XML Source (see within schema source)
<xsd:element name="isJunkMail" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
This read only element is set by the myInbox service when the message was delivered and indicates
if the message was marked as junk mail by the junk mail filter.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

messagePart
Type:
messagePartType, complex content
Defined:
locally within messageContentType complexType
The element and it's children define the message structure (including the mime body) This element is returned by passing the 'includeMessagePartStructure' element in query options
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="messagePart" type="messagePartType">
<xsd:annotation>
<xsd:documentation>
The element and it's children define the message structure (including the mime body)
This element is returned by passing the 'includeMessagePartStructure' element in query options
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

messageType
Type:
messageTypeType, complex content
Defined:
locally within messageContentType complexType
The subelements of this element describe the contents of the message.
XML Source (see within schema source)
<xsd:element name="messageType" type="messageTypeType">
<xsd:annotation>
<xsd:documentation>
The subelements of this element describe the contents of the message.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

plainBody
Type:
xsd:string, predefined, simple content
Defined:
locally within messageContentType complexType
The plain body representation of the message. This element is returned by passing the 'includeSimpleMessageView' element in query options
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="plainBody" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The plain body representation of the message.
This element is returned by passing the 'includeSimpleMessageView' element in query options
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

preview
Type:
hs:localizableString, simple content
Defined:
locally within messageContentType complexType
The first 256 characters of the message body. This element is only returned if the query option 'includePreview' is specified.
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="preview" type="hs:localizableString">
<xsd:annotation>
<xsd:documentation>
The first 256 characters of the message body. This element is only returned if the query option
'includePreview' is specified.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

raw2822Content
Type:
xsd:base64Binary, predefined, simple content
Defined:
locally within messageContentType complexType
The raw 2822 message (including headers and body) This element is returned by passing the includeRaw2822Contentelement in query options
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="raw2822Content" type="xsd:base64Binary">
<xsd:annotation>
<xsd:documentation>
The raw 2822 message (including headers and body)
This element is returned by passing the includeRaw2822Contentelement in query options
</xsd:documentation>
</xsd:annotation>
</xsd:element>

raw2822Headers
Type:
xsd:base64Binary, predefined, simple content
Defined:
locally within messageContentType complexType
The raw rfc2822 headers not included in the base schema (ex: x-apparently-to) This element is returned by passing the 'includeRaw2822Headers' element in query options
XML Source (see within schema source)
<xsd:element maxOccurs="1" minOccurs="0" name="raw2822Headers" type="xsd:base64Binary">
<xsd:annotation>
<xsd:documentation>
The raw rfc2822 headers not included in the base schema (ex: x-apparently-to)
This element is returned by passing the 'includeRaw2822Headers' element in query options
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

recipient
Type:
emailToCcType, complex content
Defined:
locally within messageContentType complexType
Specifies the recipient of this message and where they appear. A collection of recipient elements is only returned if the query option 'expandRecipients' is specified.
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="recipient" type="emailToCcType">
<xsd:annotation>
<xsd:documentation>
Specifies the recipient of this message and where they appear. A collection of recipient elements is
only returned if the query option 'expandRecipients' is specified.
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

sensitivity
Type:
sensitivityType, simple content
Defined:
locally within messageContentType complexType
This element indicates the sensitivity of the message. The value can be 'normal', 'personal', 'private', or 'confidential'.
XML Source (see within schema source)
<xsd:element name="sensitivity" type="sensitivityType">
<xsd:annotation>
<xsd:documentation>
This element indicates the sensitivity of the message. The value
can be 'normal', 'personal', 'private', or 'confidential'.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

single2822Header
Type:
single2822HeaderType, simple content
Defined:
locally within messageContentType complexType
The rfc2822 headers not included in the base schema (ex: x-apparently-to) This element is returned by passing the 'includeSingle2822Headers' element in query options
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="single2822Header" type="single2822HeaderType">
<xsd:annotation>
<xsd:documentation>
The rfc2822 headers not included in the base schema (ex: x-apparently-to)
This element is returned by passing the 'includeSingle2822Headers' element in query options
</xsd:documentation>
<xsd:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

size
Type:
xsd:unsignedLong, predefined, simple content
Defined:
locally within messageContentType complexType
This element contains the size, in bytes, of the entire RFC2822 message in the store.
XML Source (see within schema source)
<xsd:element name="size" type="xsd:unsignedLong">
<xsd:annotation>
<xsd:documentation>
This element contains the size, in bytes, of the entire RFC2822 message in the store.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

subject
Type:
subjectType, complex content
Defined:
locally within messageContentType complexType
The subject of the message. This element contains both a prefix and text sub-elements to allow clients to sort on the non-prefix part of the subject (so RE: RE: doesn't get sorted)
XML Source (see within schema source)
<xsd:element name="subject" type="subjectType">
<xsd:annotation>
<xsd:documentation>
The subject of the message. This element contains both a prefix and text sub-elements to allow clients
to sort on the non-prefix part of the subject (so RE: RE: doesn't get sorted)
</xsd:documentation>
</xsd:annotation>
</xsd:element>

{any element with non-schema namespace}
Defined:
within messageContentType complexType
XML Source (see within schema source)
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>