fml8 Mail Delivery System

fml 8 tutorial
Prev |  | Next

# Chapter 31. fml8 Mail Delivery System

# The Difference Between fml4 And fml8

One of purposes of fml8 is unification and abstraction of member list operations. Mail distribution is based on the following module Mail::Delivery.

Mail::Delivery class provides SMTP, ESMTP and LMTP delivery library interface. Mail::Delivery is an adapter layer for Mail::Delivery subclass ( SMTP ESMTP LMTP ).

For example,

        use Mail::Delivery::SMTP;
        my $service = new Mail::Delivery::SMTP;
        if ($service->error) { Log($service->error); return;}

        $service->deliver(
                          {
                              mta             => '127.0.0.1:25',

                              smtp_sender     => 'rudo@nuinui.net',
                              recipient_maps  => $recipient_maps,
                              recipient_limit => 1000,

                              mesage          => $message
                          });

where $message is a Mail::Message object.

Prev | Home | Next
Create A Program (CGI) | Up | Mail::Message Object

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>.