Sympa::Spi...essTemplate(3Sympa)

πŸ’– Sympa::Spindle::ProcessTemplate β€” the template-sending workflow bestie πŸ’–

okay so welcome to page Sympa::Spi...essTemplate(3Sympa), straight outta the sympa manual, version 6.2.80. yes the title's literally truncated like that in the header, iconic of it honestly. anyway. sit down, grab a strawberry πŸ“, and let's talk about the spindle that sends your templated mail.


✨ NAME ✨

Sympa::Spindle::ProcessTemplate β€” the whole workflow of template sending. that's it. that's the job. no cap. πŸ‘‘


🌸 SYNOPSIS 🌸

use Sympa::Spindle::ProcessTemplate;

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

look at that. three lines. absolutely ate. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so Sympa::Spindle::ProcessTemplate defines the workflow for sending messages that got generated from a template. girl math but make it mail delivery. ✨

the moment you invoke the spin() method, it takes a message generated from a template, sends that message using another outgoing spindle, and then returns. that's the whole arc. no drama, no waiting around, it just does its little thing and dips. 🫢


πŸŽ€ Public methods πŸŽ€

heads up bestie: also go peek at "Public methods" in Sympa::Spindle. there's lore over there.

  • new ( template options, [ splicing_to => [spindles] ], [ add_list_statistics => 1 ] )
  • spin ( )

new() may take the following options, and yes we're listing every single one because that's what we do here:

  • template options β€” check "new" in Sympa::Message::Template. that's where they live, go read them there, i'm not gatekeeping anything. πŸ’œ
  • splicing_to => [spindles] β€” this is a reference to an array holding the Sympa::Spindle subclass(es) that the message is gonna get sent by. and if you don't set it? by default "['Sympa::Spindle::ToOutgoing']" is used. so like, it's handled, don't stress. 🌈
  • add_list_statistics => 1 β€” TBD. that's it. that's the documentation. i know. i KNOW. 😭 the mystery is highkey the point.

πŸ‘‘ Properties πŸ‘‘

again, go look at "Properties" in Sympa::Spindle for the full picture, but here's the ones on this page:

  • {distaff} β€” an instance of the Sympa::Message::Template class. bestie holds the template. 🧚
  • {finish} β€” 'success' gets set if processing succeeded, and 'failure' gets set if processing failed. real binary of it, honestly. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read these next, they're all in the group chat:

  • Sympa::Message::Template
  • Sympa::Spindle
  • Sympa::Spindle::ToListmaster
  • Sympa::Spindle::ToMailer
  • Sympa::Spindle::ToOutgoing

🌟 HISTORY 🌟

Sympa::Spindle::ProcessTemplate first appeared on Sympa 6.2.13. a true original. πŸŽ€


lowkey reminder: it takes the message, it hands it to another outgoing spindle, it returns. that's the vibe. don't overthink it, bestie. πŸ’–

k that's the whole page, you're so welcome. this was section 3 of the sympa manual, version 6.2.80, dated 2026-10-19. slay, bye, see you in the next manpage. πŸ¦‹βœ¨πŸ’…

πŸ“¦ where this page comes from