logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Sympa::Spool::Held - Spool for held messages waiting for confirmation

Configuration Parameters

       Following site configuration parameters in sympa.conf will be referred.

       queueauth
           Directory path of held message spool.

           Note: Named such by historical reason.

Description

       Sympa::Spool::Held implements the spool for held messages waiting for confirmation.

   Methods
       See also "Public methods" in Sympa::Spool.

       new ( [ context => $list ], [ authkey => $authkey ] )
       next ( [ no_lock => 1 ] )
           If the pairs describing metadatas are specified, contents returned by next() are filtered by them.

       quarantine ( )
           Does nothing.

       store ( $message, [ original => $original ] )
           If storing succeeded, returns authentication key.

   Contextandmetadata
       See also "Marshaling and unmarshaling metadata" in Sympa::Spool.

       This class particularly gives following metadata:

       {authkey}
           Authentication key generated automatically when the message is stored to spool.

History

       Sympa::Spool::Held appeared on Sympa 6.2.8.

6.2.76                                             2025-02-12                         Sympa::Spool::Held(3Sympa)

Name

       Sympa::Spool::Held - Spool for held messages waiting for confirmation

See Also

sympa_msg(8), wwsympa(8), Sympa::Message, Sympa::Spool.

Synopsis

         use Sympa::Spool::Held;

         my $spool = Sympa::Spool::Held->new;
         my $authkey = $spool->store($message);

         my $spool =
             Sympa::Spool::Held->new(context => $list, authkey => $authkey);
         my ($message, $handle) = $spool->next;

See Also