element <draftContent> (local)
Namespace:
Type:
Content:
complex, 1 attribute, 20 elements, elem. wildcard
Defined:
locally within draftType complexType in myInbox.xsd; see XML source
XML Representation Summary
<draftContent
   
 = 
xsd:nonNegativeInteger
   
>
   
Content: 
</draftContent>
Content model elements (20):
account (type refType), attachment (type attachmentType), cat (type hs:catType), conversationId (type conversationIdType), conversationIndex (type conversationIndexType), draftPart (in draftContent), draftType (in draftContent), from (type emailType), hasAttachments (type xsd:boolean), htmlBody (type htmlBodyType), importance (type importanceType), plainBody (type xsd:string), preview (type hs:localizableString), raw2822Content (type xsd:base64Binary), raw2822Headers (type xsd:base64Binary), recipient (type emailToCcBccType), sensitivity (type sensitivityType), single2822Header (type single2822HeaderType), size (type xsd:unsignedLong), subject (type subjectType)
Included in content model of elements (1):
draft (in myInbox)
Annotation
The contents of this element represent the content of the draft.
XML Source (see within schema source)
<xsd:element name="draftContent" type="draftContentType">
<xsd:annotation>
<xsd:documentation>
The contents of this element represent the content of the draft.
</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; 21/21)
account
Type:
refType, empty content
Defined:
locally within draftContentType complexType
This element contains a reference to the /myInbox/account element ref that this message should be sent from
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 ref that this message should be sent from
</xsd:documentation>
</xsd:annotation>
</xsd:element>

attachment
Type:
attachmentType, complex content
Defined:
locally within draftContentType complexType
This element represents a mail attachment.
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.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

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

conversationId
Type:
conversationIdType, simple content
Defined:
locally within draftContentType 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 draftContentType 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>

draftPart
Type:
draftPartType, complex content
Defined:
locally within draftContentType complexType
The element and it's children define the message structure (including the mime body)
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="1" name="draftPart" type="draftPartType">
<xsd:annotation>
<xsd:documentation>
The element and it's children define the message structure (including the mime body)
</xsd:documentation>
</xsd:annotation>
</xsd:element>

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

from
Type:
emailType, complex content
Defined:
locally within draftContentType complexType
This read-only element describes who this message is from. To set this value, set the account element.
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. To set this value, set the account element.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

hasAttachments
Type:
xsd:boolean, predefined, simple content
Defined:
locally within draftContentType complexType
This read only 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 read only 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 draftContentType complexType
The html body representation of the draft. This element can optionally contain inline attachments
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 draft. This element can optionally contain inline
attachments
</xsd:documentation>
</xsd:annotation>
</xsd:element>

importance
Type:
importanceType, simple content
Defined:
locally within draftContentType 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>

plainBody
Type:
xsd:string, predefined, simple content
Defined:
locally within draftContentType complexType
The plain body representation of the draft.
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 draft.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

preview
Type:
hs:localizableString, simple content
Defined:
locally within draftContentType 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 draftContentType 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:appinfo>
<xdb:system type="calculatedFieldLateBound"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>

raw2822Headers
Type:
xsd:base64Binary, predefined, simple content
Defined:
locally within draftContentType 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:
emailToCcBccType, complex content
Defined:
locally within draftContentType complexType
Specifies the recipient of this message and where they appear.
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="recipient" type="emailToCcBccType">
<xsd:annotation>
<xsd:documentation>
Specifies the recipient of this message and where they appear.
</xsd:documentation>
</xsd:annotation>
</xsd:element>

sensitivity
Type:
sensitivityType, simple content
Defined:
locally within draftContentType 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 draftContentType 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 draftContentType complexType
This read only 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 read only 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 draftContentType 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 draftContentType complexType
XML Source (see within schema source)
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>