DOKK / manpages / debian 10 / sympa / Sympa::Spindle::ProcessTemplate.3sympa.en
Sympa::Spindle::ProcessTemplate(3Sympa) sympa 6.2.40 Sympa::Spindle::ProcessTemplate(3Sympa)

Sympa::Spindle::ProcessTemplate - Workflow of template sending

  use Sympa::Spindle::ProcessTemplate;
  my $spindle = Sympa::Spindle::ProcessTemplate->new( options... );
  $spindle->spin;

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.

See also "Public methods" in Sympa::Spindle.

new() may take following options.
See "new" in Sympa::Message::Template.
A reference to array containing Sympa::Spindle subclass(es) by which the message will be sent. By default "['Sympa::Spindle::ToOutgoing']" is used.
TBD.

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.

Sympa::Message::Template, Sympa::Spindle, Sympa::Spindle::ToAlarm, Sympa::Spindle::ToMailer, Sympa::Spindle::ToOutgoing.

Sympa::Spindle::ProcessTemplate appeared on Sympa 6.2.13.

2020-12-10 6.2.40