Sympa::Spindle::ProcessTemplate - Workflow of template sending
Contents
Description
Sympa::Spindle::ProcessTemplate defines workflow to send messages generated from template.
When spin() method is invoked, it takes an message generated from template, sends the message using
another outgoing spindle and returns.
Publicmethods
See also "Public methods" in Sympa::Spindle.
new ( templateoptions, [ splicing_to => [spindles] ], [ add_list_statistics => 1 ] )
spin ( )
new() may take following options.
templateoptions
See "new" in Sympa::Message::Template.
splicing_to => [spindles]
A reference to array containing Sympa::Spindle subclass(es) by which the message will be sent.
By default "['Sympa::Spindle::ToOutgoing']" is used.
add_list_statistics => 1
TBD.
Properties
See also "Properties" in Sympa::Spindle.
{distaff}
Instance of Sympa::Message::Template class.
{finish}
'success' is set if processing succeeded. 'failure' is set if processing failed.
History
Sympa::Spindle::ProcessTemplate appeared on Sympa 6.2.13.
6.2.76 2025-02-12 Sympa::Spindle::ProcessTemplate(3Sympa)
Name
Sympa::Spindle::ProcessTemplate - Workflow of template sending
See Also
Sympa::Message::Template, Sympa::Spindle, Sympa::Spindle::ToListmaster, Sympa::Spindle::ToMailer,
Sympa::Spindle::ToOutgoing.
Synopsis
use Sympa::Spindle::ProcessTemplate;
my $spindle = Sympa::Spindle::ProcessTemplate->new( options... );
$spindle->spin;
