fml 8 tutorial
Prev | Chapter 31. fml8 Mail Delivery System | Next

# fml Sends Back A Mail Message

Mail::Delivery::Queue class inserts a message to send back into the mail queue. Later FML::Process::QueueManager handles the real delivery process.

Article delivery processing is a little diffferent but based on queueing by Mail::Delivery::Queue. If someting error occurs in delivery, another fml process tries to deliver it later.

## Coding In fml8 Sources.

Code is like this to send back a message:

    $curproc->reply_message( "you are not a ML member." );

If no recipient specified, the recipient is the sender of the message (From: address).

To send a file, like this:

    $curproc->reply_message( {
            type        => "text/plain; charset=iso-2022-jp",
            path        => "/etc/fml/main.cf",
            filename    => "main.cf",
            disposition => "main.cf example",
        });

    $curproc->reply_message( {
            type        => "image/gif",
            path        => "/some/where/logo001.gif",
            filename    => "logo.gif",
            disposition => "attachment",
        });

Prev | Home | Next
Incoming Queuing | Up | Mail Queue And Delivery System

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml8/.
fml 4.0 project homepage is www.fml.org/software/fml4/.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.