main_body_part()¶
Returns the main body part for using when forwarding/replying the message.
body()¶
returns the body of the part unless body({ raw => 1}) is specified converting
the body to utf-8 will be attempted
_decode_body()¶
attempt a best-effort $charset to utf-8 conversion
id()¶
returns the ID of the part
guess_recipient()¶
Tries to guess the recipient address used to deliver this message to this
mailbox. Used for suggesting a From address on reply/forward.
handler()¶
returns a CiderWebmail::Part::FooBar object for the specified part
icon() {¶
returns the name of a icon representing the content type fo the part
render()¶
render a CiderWebmail::Part. just a stub - override in
CiderWebmail::Part::FooBar
cid()¶
returns the Content-ID of the part
content_type()¶
returns the content type of the CiderWebmail::Part
name()¶
returns the name of the part or "(attachment|part) content/type"
file_name()¶
returns a best-guess file_name if one was supplied or undef
is_attachment()¶
returns true if the body disposition indicates it is an attachment
bodydisp()¶
returnes the body disposition hash (if it exists) or undef
bodyparms()¶
returnes the bodyparms hash (if it exists) or undef
uri_download¶
returns an http url to access the part
uri_render¶
returns an http url to render the part