1Mail::Message::Convert:U:sMearilCIonntterrinbeutt(e3d)PMearill:D:oMceusmseangtea:t:iCoonnvert::MailInternet(3)
2
3
4
6 Mail::Message::Convert::MailInternet - translate Mail::Message to
7 Mail::Internet vv
8
10 Mail::Message::Convert::MailInternet
11 is a Mail::Message::Convert
12 is a Mail::Reporter
13
15 use Mail::Message::Convert::MailInternet;
16 my $convert = Mail::Message::Convert::MailInternet->new;
17
18 my Mail::Message $msg = Mail::Message->new;
19 my Mail::Internet $intern = $convert->export($msg);
20
21 my Mail::Internet $intern = Mail::Internet->new;
22 my Mail::Message $msg = $convert->from($intern);
23
24 use Mail::Box::Manager;
25 my $mgr = Mail::Box::Manager->new;
26 my $folder = $mgr->open(folder => 'Outbox');
27 $folder->addMessage($intern);
28
30 The Mail::Internet class of messages is very popular for all kinds of
31 message applications written in Perl. However, the format was
32 developed when e-mail messages where still small and attachments where
33 rare; Mail::Message is much more flexible in this respect.
34
35 Extends "DESCRIPTION" in Mail::Message::Convert.
36
38 Extends "METHODS" in Mail::Message::Convert.
39
40 Constructors
41 Extends "Constructors" in Mail::Message::Convert.
42
43 Mail::Message::Convert::MailInternet->new(%options)
44 Inherited, see "METHODS" in Mail::Message::Convert
45
46 Converting
47 Extends "Converting" in Mail::Message::Convert.
48
49 $obj->export($message, %options)
50 Returns a new message object based on the information from a
51 Mail::Message object. The $message specified is an instance of a
52 Mail::Message.
53
54 example:
55
56 my $convert = Mail::Message::Convert::MailInternet->new;
57 my Mail::Message $msg = Mail::Message->new;
58 my Mail::Internet $copy = $convert->export($msg);
59
60 $obj->from($object, %options)
61 Returns a new Mail::Message object based on the information from a
62 Mail::Internet object.
63
64 example:
65
66 my $convert = Mail::Message::Convert::MailInternet->new;
67 my Mail::Internet $msg = Mail::Internet->new;
68 my Mail::Message $copy = $convert->from($msg);
69
70 $obj->selectedFields($head)
71 Inherited, see "Converting" in Mail::Message::Convert
72
73 Error handling
74 Extends "Error handling" in Mail::Message::Convert.
75
76 $obj->AUTOLOAD()
77 Inherited, see "Error handling" in Mail::Reporter
78
79 $obj->addReport($object)
80 Inherited, see "Error handling" in Mail::Reporter
81
82 $obj->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level,
83 $callback] )
84 Mail::Message::Convert::MailInternet->defaultTrace(
85 [$level]|[$loglevel, $tracelevel]|[$level, $callback] )
86 Inherited, see "Error handling" in Mail::Reporter
87
88 $obj->errors()
89 Inherited, see "Error handling" in Mail::Reporter
90
91 $obj->log( [$level, [$strings]] )
92 Mail::Message::Convert::MailInternet->log( [$level, [$strings]] )
93 Inherited, see "Error handling" in Mail::Reporter
94
95 $obj->logPriority($level)
96 Mail::Message::Convert::MailInternet->logPriority($level)
97 Inherited, see "Error handling" in Mail::Reporter
98
99 $obj->logSettings()
100 Inherited, see "Error handling" in Mail::Reporter
101
102 $obj->notImplemented()
103 Inherited, see "Error handling" in Mail::Reporter
104
105 $obj->report( [$level] )
106 Inherited, see "Error handling" in Mail::Reporter
107
108 $obj->reportAll( [$level] )
109 Inherited, see "Error handling" in Mail::Reporter
110
111 $obj->trace( [$level] )
112 Inherited, see "Error handling" in Mail::Reporter
113
114 $obj->warnings()
115 Inherited, see "Error handling" in Mail::Reporter
116
117 Cleanup
118 Extends "Cleanup" in Mail::Message::Convert.
119
120 $obj->DESTROY()
121 Inherited, see "Cleanup" in Mail::Reporter
122
124 Error: Package $package does not implement $method.
125 Fatal error: the specific package (or one of its superclasses) does
126 not implement this method where it should. This message means that
127 some other related classes do implement this method however the
128 class at hand does not. Probably you should investigate this and
129 probably inform the author of the package.
130
132 This module is part of Mail-Message distribution version 3.007, built
133 on September 03, 2018. Website: http://perl.overmeer.net/CPAN/
134
136 Copyrights 2001-2018 by [Mark Overmeer <markov@cpan.org>]. For other
137 contributors see ChangeLog.
138
139 This program is free software; you can redistribute it and/or modify it
140 under the same terms as Perl itself. See http://dev.perl.org/licenses/
141
142
143
144perl v5.28.0 2018-0M9a-i0l3::Message::Convert::MailInternet(3)