Scroll to navigation

CiderWebmail::Part(3pm) User Contributed Perl Documentation CiderWebmail::Part(3pm)

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

part_id()

returns the part_id of the part

body_id()

returns the body_id of the part or undef

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

attachment()

returns true if the bodydisp indicates it is a attachment

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

is_root_part

returns true if this part is the root part (RFC822 message)

2020-02-24 perl v5.30.0