NAME
Egg::View::Mail::Plugin::Signature - Famous etc. are added to the content of the transmission of mail.
SYNOPSIS
package MyApp::View::Mail::MyComp;
use base qw/ Egg::View::Mail::Base /;
...........
.....
__PACKAGE__->setup_plugin('Signature');
DESCRIPTION
It is MAIL plugin to add famous etc. to the content when mail is transmitted.
When 'Signature' is passed to 'setup_plugin' method, it is built in.
There is a thing that processing the same as the aim is not done by the competition with other plugins. Please adjust the built-in order.
__PACKAGE__->setup_plugin(qw/
Signature
EmbAgent
/);
When the following items are set by the argument and the configuration of 'send' method, the content is added to the content of mail.
body_header
Text added to uppermost part of content of mail.
$mail->send( ...... , body_header => $header_text );
body_footer
Text added under content of mail.
$mail->send( ...... , body_footer => $footer_text );
signature
Text added the under content of mail.
$mail->send( ...... , signature => $signature_text );
SEE ALSO
Egg::Release, Egg::View::Mail, Egg::View::Mail::Base,
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.