Mail::Message::Convert man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Mail::Message::ConvertUser Contributed Perl DocumentaMail::Message::Convert(3)

NAME
       Mail::Message::Convert - conversions between message types

INHERITANCE
	Mail::Message::Convert
	  is a Mail::Reporter

	Mail::Message::Convert is extended by
	  Mail::Message::Convert::EmailSimple
	  Mail::Message::Convert::Html
	  Mail::Message::Convert::HtmlFormatPS
	  Mail::Message::Convert::HtmlFormatText
	  Mail::Message::Convert::MailInternet
	  Mail::Message::Convert::MimeEntity
	  Mail::Message::Convert::TextAutoformat

SYNOPSIS
       Available methods are very converter-specific.

DESCRIPTION
   Converters between message objects
       Internally, the Mail::Message::coerce() is called when foreign objects
       are used where message objects are expected.  That method will
       automatically create the converting objects, and re-use them.

       ·   Mail::Message::Convert::MailInternet

	   Converts the simple Mail::Internet messages into Mail::Message
	   objects.

       ·   Mail::Message::Convert::MimeEntity

	   Converts the more complicated MIME::Entity messages into
	   Mail::Message objects.

       ·   Mail::Message::Convert::EmailSimple

	   Converts Email::Simple messages into Mail::Message objects.

   Other converters
       ·   Mail::Message::Convert::Html

	   Plays tricks with HTML/XMHTML without help of external modules.

       ·   Mail::Message::Convert::HtmlFormatText

	   Converts HTML body objects to plain text objects using the
	   HTML::FormatText module.

       ·   Mail::Message::Convert::HtmlFormatPS

	   Converts HTML body objects to Postscript objects using the
	   HTML::FormatPS module.

       ·   Mail::Message::Convert::TextAutoformat

	   Converts a text message into text using Text::Autoformat.

       This class is the base for various message (and message parts)
       converters.

METHODS
   Constructors
       Mail::Message::Convert->new(OPTIONS)
	    -Option--Defined in	    --Default
	     fields		      <see description>
	     log     Mail::Reporter   'WARNINGS'
	     trace   Mail::Reporter   'WARNINGS'

	   fields => NAMES|ARRAY-OF-NAMES|REGEXS
	     Select the fields of a header which are to be handled.  Other
	     fields will not be used.  The value of this option is passed to
	     Mail::Message::Head::Complete::grepNames() whenever converters
	     feel a need for header line selection.  By default, the "To",
	     "From", "Cc", "Bcc", "Date", "Subject", and their "Resent-"
	     counterparts will be selected.  Specify an empty list to get all
	     fields.

	   log => LEVEL
	   trace => LEVEL

   Converting
       $obj->selectedFields(HEAD)
	   Returns a list of fields to be included in the format.  The list is
	   an ordered selection of the fields in the actual header, and
	   filtered through the information as specified with new(fields).

   Error handling
       $obj->AUTOLOAD
	   See "Error handling" in Mail::Reporter

       $obj->addReport(OBJECT)
	   See "Error handling" in Mail::Reporter

       $obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
	   Mail::Message::Convert->defaultTrace([LEVEL]|[LOGLEVEL,
	   TRACELEVEL]|[LEVEL, CALLBACK])

	   See "Error handling" in Mail::Reporter

       $obj->errors
	   See "Error handling" in Mail::Reporter

       $obj->log([LEVEL [,STRINGS]])
	   Mail::Message::Convert->log([LEVEL [,STRINGS]])

	   See "Error handling" in Mail::Reporter

       $obj->logPriority(LEVEL)
	   Mail::Message::Convert->logPriority(LEVEL)

	   See "Error handling" in Mail::Reporter

       $obj->logSettings
	   See "Error handling" in Mail::Reporter

       $obj->notImplemented
	   See "Error handling" in Mail::Reporter

       $obj->report([LEVEL])
	   See "Error handling" in Mail::Reporter

       $obj->reportAll([LEVEL])
	   See "Error handling" in Mail::Reporter

       $obj->trace([LEVEL])
	   See "Error handling" in Mail::Reporter

       $obj->warnings
	   See "Error handling" in Mail::Reporter

   Cleanup
       $obj->DESTROY
	   See "Cleanup" in Mail::Reporter

       $obj->inGlobalDestruction
	   See "Cleanup" in Mail::Reporter

DIAGNOSTICS
       Error: Package $package does not implement $method.
	   Fatal error: the specific package (or one of its superclasses) does
	   not implement this method where it should. This message means that
	   some other related classes do implement this method however the
	   class at hand does not.  Probably you should investigate this and
	   probably inform the author of the package.

SEE ALSO
       This module is part of Mail-Box distribution version 2.097, built on
       January 26, 2011. Website: http://perl.overmeer.net/mailbox/

LICENSE
       Copyrights 2001-2011 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.14.1			  2011-01-26	     Mail::Message::Convert(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net