Egg::View::Mail::Plugin::Signature - Famous etc. are added to the content of the transmission of mail.
package MyApp::View::Mail::MyComp; use base qw/ Egg::View::Mail::Base /; ........... ..... __PACKAGE__->setup_plugin('Signature');
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.
Text added to uppermost part of content of mail.
$mail->send( ...... , body_header => $header_text );
Text added under content of mail.
$mail->send( ...... , body_footer => $footer_text );
Text added the under content of mail.
$mail->send( ...... , signature => $signature_text );
Egg::Release, Egg::View::Mail, Egg::View::Mail::Base,
Masatoshi Mizuno <lushe@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.
To install Egg::Release::Mail, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Release::Mail
CPAN shell
perl -MCPAN -e shell install Egg::Release::Mail
For more information on module installation, please visit the detailed CPAN module installation guide.