NAME

Egg::Plugin::MailSend::SMTP - Mail is delivered by Net::SMTP.

SYNOPSIS

use Egg qw/ MailSend /;

__PACKAGE__->egg_startup(
  .....
  ...
  plugin_mailsend => {
    handler    => 'SMTP',
    smtp_host  => '192.168.1.1',
    timeout    => 7,
    debug      => 0,
    },
  );

$e->mail->send( to=> '...' );

DESCRIPTION

It is a subclass for Egg::Plugin::MailSend for E-mail delivery by using Net::SMTP.

Please set the address of the SMTP server to 'smtp_host'. Default is 'localhost'.

Please set the number of seconds until connected time-out of the SMTP server to 'Timeout'. Default is '7'.

Please refer to the document of Egg::Plugin::MailSend.

SEE ALSO

Egg::Net::SMTP, Egg::Plugin::MailSend, Egg::Plugin::MailSend::Encode::ISO2022JP, Egg::Release,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT

Copyright (C) 2007 by 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.