The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Bulkmail - Simple but flexible bulkmailer

SYNOPSIS

    use App::Bulkmail;
    
    App::Bulkmail->run();

    ... or

    App::Bulkmail->run(
        dryrun     => 1,
        dump       => 1,
        template   => 'mail.tt',
        recipients => [
          { email => 'joe@example.net',  name => 'Joe Doe' },
          { email => 'jane@example.net', name => 'Jane Roe' },
        ],
    );

ARGUMENTS

template (filename or scalarref)

A Template Toolkit template. If the argument is a scalar ref it should contain the template text otherwise is is used as a filename.

recipients (filename or array of hashes)

A list of recipients.

dryrun (boolean)

Wether to send mail. Default is to send mail!

dump (boolean)

Dump mail in mbox format on STDOUT (default: no)

quiet (boolean)

Prevent some messages on STDOUT (default: no)

verbose (boolean)

Print some extra information on STDOUT (default: no)

progress (Term::ProgressBar like object)

Use this as progress indicator. Default is to try to instantiate Term::ProgressBAr if neiter dump, quiet, verbose is set.

AUTHOR

Peter Makholm, <peter at makholm.net>

BUGS

Please report any bugs or feature requests to bug-app-bulkmail at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-Bulkmail. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc App::Bulkmail

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2009 Peter Makholm.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.