| Egg-Release-Mail documentation | view source | Contained in the Egg-Release-Mail distribution. |
Egg::View::Mail::Plugin::Lot - MAIL plugin that enables specification of two or more destinations.
package MyApp::View::Mail::MyComp;
use base qw/ Egg::View::Mail::Base /;
...........
.....
__PACKAGE__->setup_plugin('Lot');
It is MAIL plugin that enables the specification of two or more destinations.
When 'Lot' is passed to 'setup_plugin' method, it is built in.
Mail is transmitted.
Two or more addresses can be passed to 'to'.
$mail->send(
to => [qw/
hoge@mydomain
fooo@anydomain
.....
/],
body => $mail_body,
);
'send' method of Egg::View::Mail::Base is Obarraided.
Masatoshi Mizuno <lushe&64;cpan.org>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
| Egg-Release-Mail documentation | view source | Contained in the Egg-Release-Mail distribution. |