summaryrefslogtreecommitdiff
path: root/fml/doc/en/tutorial/message
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-07-28 15:20:17 +0000
committerfukachan <fukachan>2003-07-28 15:20:17 +0000
commit13ef97114ca3f44fe534d0f4228c9e21b9febd8e (patch)
tree3b0874fce4fe8676d34f2213950b7e9c959e7d34 /fml/doc/en/tutorial/message
parentd9c8ecee3855d3d88842a4b842c8f4ea2013c8f6 (diff)
downloadfml8-13ef97114ca3f44fe534d0f4228c9e21b9febd8e.tar.gz
fml8-13ef97114ca3f44fe534d0f4228c9e21b9febd8e.tar.bz2
fml8-13ef97114ca3f44fe534d0f4228c9e21b9febd8e.zip
trasnlated
Diffstat (limited to 'fml/doc/en/tutorial/message')
-rw-r--r--fml/doc/en/tutorial/message/chapter.sgml110
1 files changed, 110 insertions, 0 deletions
diff --git a/fml/doc/en/tutorial/message/chapter.sgml b/fml/doc/en/tutorial/message/chapter.sgml
new file mode 100644
index 00000000..4c2f7192
--- /dev/null
+++ b/fml/doc/en/tutorial/message/chapter.sgml
@@ -0,0 +1,110 @@
+<!--
+ $FML$
+ $jaFML: chapter.sgml,v 1.5 2003/04/15 14:51:42 fukachan Exp $
+-->
+
+<chapter id="mail.manipulation">
+ <title>
+ manipulate message (mail)
+ </title>
+
+<para>
+See
+<link linkend="module.mail.message">
+Mail::Message class
+</link>
+for the mail message object handling. Mail::Message class provides
+fundamental methods. Several message related modules e.g.
+Mail::Bounce, Mail::Delivery depend on this class.
+</para>
+
+
+<!-- ======================================= -->
+<sect1>
+ <title>
+ Mail::Message class
+ </title>
+
+<para>
+A mail consists of one header and one body.
+A multipart mail consists of several parts.
+</para>
+
+<para>
+The mail delivery needs no detai of a message.
+But the filter system needs to know the structure of the message.
+</para>
+
+<para>
+These modules depend
+<link linkend="module.mail.message">
+Mail::Message class
+</link>
+to know the message structure.
+For eample, Mail::Bounce, Mail::Delivery et.al. uses this.
+</para>
+
+<para>
+THe usage is as follows:
+<screen>
+ my $fh = new FileHandle $file;
+ my $msg = Mail::Message->parse( { fd => $fh } );
+
+ use FML::Mailer;
+ my $obj = new FML::Mailer;
+ $obj->send( {
+ sender => $sender,
+ recipient => $rcpt,
+ message => $msg,
+ });
+</screen>
+</para>
+
+</sect1>
+
+
+<!-- ======================================= -->
+<sect1>
+ <title>
+ Mail::Message::Parse class
+ </title>
+
+<para>
+dummy.
+</para>
+
+<para>
+The real functions are within
+ <link linkend="module.mail.message">
+ Mail::Message
+ </link>
+class.
+</para>
+
+</sect1>
+
+
+<!-- ======================================= -->
+<sect1>
+ <title>
+ Mail::Message::Compose class
+ </title>
+
+<para>
+dummy.
+This is an adapter for MIME::Lite class.
+All thre request is forwarded to MIME::Lite class.
+</para>
+
+<para>
+See MIME::Lite class for the usage details.
+</para>
+
+</sect1>
+
+
+<!-- internationalization -->
+&sect.message.nl;
+&sect.message.discuss;
+
+</chapter>