Masatoshi Mizuno
and 1 contributors

NAME

Egg::View::Mail::Mailer::SMTP - Mail is transmitted by using Net::SMTP.

SYNOPSIS

  package MyApp::View::Mail::MyComp;
  use base qw/ Egg::View::Mail::Base /;
  
  ...........
  .....
  
  __PACKAGE__->setup_mailer('SMTP');

DESCRIPTION

It is Mailer system component to transmit mail by using Net::SMTP.

Use is enabled specifying 'SMTP' for the first argument of 'setup_mailer' method.

CONFIGURATION

smtp_host

SMTP host name.

Default is 'localhost'.

timeout

Value of 'Timeout' passed to Net::SMTP.

Default is '3'.

debug

Value of 'Debug' passed to Net::SMTP.

METHODS

mail_send ([MAIL_DATA_HASH])

This method is what 'send' method of Egg::View::Mail::Base calls it internally.

The obstacle is generated by operating the component built in when calling directly.

SEE ALSO

Egg::Release, Egg::View::Mail, Egg::View::Mail::Base, Egg::View::Mail::Mailer::CMD,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT AND LICENSE

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.