NAME
    FML::Mailer - utilities for sending mails.

SYNOPSIS
        use FML::Mailer;
        my $obj = new FML::Mailer;
        $obj->send( {
            sender    => 'rudo@nuinui.net',
            recipient => 'kenken@nuinui.net',
            message   => $message,
        });

    where $message is a "Mail::Message" object to send. If you want to sent
    to plural recipinets, specify the recipients as ARRAY REFERENCE at
    "recipients" parameter.

        $obj->send( {
            sender     => 'rudo@nuinui.net',
            recipients => [ 'kenken@nuinui.net', 'hitomi@nuinui.net' ],
            message    => $message,
        });

    If you send a file, you can specify the filename as a data to send.

        use FML::Mailer;
        my $obj = new FML::Mailer;
        $obj->send( {
            sender    => 'rudo@nuinui.net',
            recipient => 'kenken@nuinui.net',
            file      => "/some/where/file",
        });

DESCRIPTION
    This module sends Mail::Message object(s).

METHODS
  new()
    constructor.

  send($send_args)
    send the specified "message". $send_args (HASH_REF) can take the
    following arguments:

       ----------------------------------
       sender             STR
       recipient          STR
       recipients         ARRAY_REF
       message            Mail::Message OBJ
       file               STR

CODING STYLE
    See "http://www.fml.org/software/FNF/" on fml coding style guide.

AUTHOR
    Ken'ichi Fukamachi

COPYRIGHT
    Copyright (C) 2001,2002,2003,2004,2005,2006 Ken'ichi Fukamachi

    All rights reserved. This program is free software; you can redistribute
    it and/or modify it under the same terms as Perl itself.

HISTORY
    FML::Mailer first appeared in fml8 mailing list driver package. See
    "http://www.fml.org/" for more details.

