Reference: get_mime_message (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: get_mime_headerChapter 14
Email Connectivity
Next: Reference: get_option
 

get_mime_message

 $folder->get_mime_message (msg_num[, parserobject][, options])

Returns a MIME::Entity object for the specified message. Calls get_message_file to get a message to parse, creates a MIME::Parser object, and uses that to create the MIME::Entity object. The arguments are:

msg_num

The number of the message.

parserobject

If specified, used instead of internally creating a parser object.

options

Map onto the equivalent MIME::Parser methods. Specified as key/value pairs, with possible values of: output_dir, output_prefix, output_to_core. See the MIME::Parser documentation for details.


Previous: Reference: get_mime_headerPerl in a NutshellNext: Reference: get_option
Reference: get_mime_headerBook IndexReference: get_option

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.