Make a multipart containing this body and the specified MESSAGES. The
options are passed to the constructor of the multi-part body. If you
need more control, create the multi-part body yourself. At least
take a look at Mail::Message::Body::Multipart.
The message-parts will be coerced into a Mail::Message::Part, so you may attach Mail::Internet or MIME::Entity objects if you want --see Mail::Message::coerce(). A new body with attached messages is returned.
Concatenate a list of elements into one new body.
Specify a list of text COMPONENTS. Each component can be a message (Mail::Message, the body of the message is used), a plain body (Mail::Message::Body), undef (which will be skipped), a scalar (which is split into lines), or an array of scalars (each providing one line).
Create a new body by performing an action on each of its lines. If none
of the lines change, the current body will be returned, otherwise a new
body is created of the same type as the current.
The CODE refers to a subroutine which is called, where $_ contains bodys original line. DO NOT CHANGE $_!!! The result of the routine is taken as new line. When the routine returns undef, the line will be skipped.
Strip the signature from the body. The body must already be decoded
otherwise the wrong lines may get stripped. Returned is the stripped
version body, and in list context also the signature, encapsulated in
its own body object. The signature separator is the first line of the
returned signature body.
The signature is added by the sender to tell about him- or herself. It is superfluous in some situations, for instance if you want to create a reply to the persons message you do not need to include that signature.
If the body had no signature, the original body object is returned, and undef for the signature body.
This module is part of Mail-Box distribution version 2.109, built on August 19, 2013. Website: http://perl.overmeer.net/mailbox/
Copyrights 2001-2013 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html
|perl v5.20.3||MAIL::MESSAGE::BODY::CONSTRUCT (3)||2013-08-19|