Egg::View::Mail::Plugin::EmbAgent - Client information is put on the content of mail.
package MyApp::View::Mail::MyComp; use base qw/ Egg::View::Mail::Base /; ........... ..... __PACKAGE__->setup_plugin('EmbAgent');
Information on the access to the content of mail is put. It is MAIL plugin.
When 'EmbAgent' is passed to 'setup_plugin' method, it is built in.
There is a thing that how of information to stick changes when using it with other components that use '__get_mailbody' and adjust the built-in order, please.
__PACKAGE__->setup_plugin(qw/ Signature EmbAgent /);
The following items come to be evaluated by 'send' method of Egg::View::Mail::Base when building it in.
When an effective value is set, putting client information is canceled.
$mail->send( body => ....., no_embagent => 1, );
Information on REMOTE_HOST also sticks when an effective value is set.
$mail->send( body => ....., embagent_remote_host => 1, );
Setting it in the configuration is good to always put up REMOTE_HOST.
Masatoshi Mizuno <email@example.com>
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.