Sympa::Spi...sendArchive(3Sympa)

πŸ’– NAME πŸ’–

Sympa::Spindle::ResendArchive β€” the workflow of resending messages in archive, bestie ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

use Sympa::Spindle::ResendArchive;

my $spindle = Sympa::Spindle::ResendArchive->new(
    resent_by => $email, context => $list, arc => $arc,
    message_id => $message_id);
$spindle->spin;

🌸 DESCRIPTION 🌸

Okay so <pink>Sympa::Spindle::ResendArchive</pink> defines the workflow for resending of messages in archive. That's literally its whole thing πŸ’…

When the spin() method is invoked, it reads a message in archive, decorate and distribute it. And here's the tea: either resending failed or not, spin() will <hotpink>terminate processing</hotpink>. No second chances, she does her job and she leaves πŸ‘‘

✨ Public methods ✨

Also see "Public methods" in Sympa::Spindle, iykyk 🫢

  • new ( resent_by => $email, context => $list, arc => $arc, message_id => $message_id, [ quiet => 1 ] )
  • spin ( )

new() must take following options:

  • resent_by => $email β€” the e-mail address of the user who requested resending message. It is given by do_send_me() function of wwsympa.fcgi and used by Sympa::Spindle::ToList to whom distribute message. So yeah, she's handing off the deets to the next girl in the chain πŸ’Œ
  • context => $list
  • arc => $arc
  • message_id => $message_id β€” context (List), archive and message ID to specify the message in archive. These three? They're the map to the message, fr fr πŸ—ΊοΈ
Note: "arc" parameter will be used by a latter part of processing, Sympa::Spindle::TransformOutgoing to construct "Archived-At" field. So don't lose her, she comes back later πŸ’«
  • quiet => 1 β€” NOT YET IMPLEMENTED. Not me telling you about a feature that doesn't exist yet 😭 If this option is set, automatic replies reporting result of processing to the user (see "resent_by") will not be sent.

πŸŽ€ Properties πŸŽ€

Also see "Properties" in Sympa::Spindle, go check her out 🌈

  • {distaff} β€” instance of Sympa::Archive class.
  • {finish} β€” 'success' is set if processing succeeded. 'failure' is set if processing failed. She really said "two moods only" πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Sympa::Archive, Sympa::Message, Sympa::Spindle, Sympa::Spindle::ToList, Sympa::Spindle::TransformOutgoing.


πŸ‘‘ HISTORY πŸ‘‘

Sympa::Spindle::ResendArchive appeared on Sympa 6.2.13. A whole era, honestly 🫢


And that's a wrap, bestie! This lil runbook comes to you from sympa 6.2.80, dated 2026-10-19 β€” go forth and resend those archived messages like the main character you are πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from