Class ZmMimePart
Method Detail
{ZmMimePart}
addAlternativePart(node, contentType, index)
Checks within the given node tree for content within a multipart/alternative part that
we don't have, and then creates and adds a MIME part for it. Assumes that there will be
at most one multipart/alternative.
<static>
{ZmMimePart}
ZmMimePart.createFromDom(node, ctxt, parent)
Returns a ZmMimePart constructed from the given JSON object. If a context
hash is provided with 'attachments' and 'bodyParts' arrays, and a hash
'contentTypes', those will be populated as the node is recursively parsed.
{string}
getContent()
Returns this part's content.
{string}
getContentDisposition()
Returns the content disposition.
{string}
getContentForType(contentType)
Returns content of the given type, in or below this part.
{string}
getContentType()
Returns the content type.
{string}
getFilename()
Returns the filename.
{boolean}
isIgnoredPart()
Returns true if this part should not be considered to be an attachment.
setContent(content)
Sets the content, overriding the original content.
setContentType(contentType)
Sets the content type, , overriding the original content type.
setIsBody(isBody)
Sets the 'is body' flag, overriding the original part's value.
|
||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:36 GMT-0400 (EDT)
|