Sympa::Mailer(3Sympa)
๐ Sympa::Mailer โ girl help, it's the sendmail whisperer
okay so bestie, welcome to Sympa::Mailer(3Sympa) โ the part of sympa 6.2.80 that takes your cute little messages and hands them off to sendmail. yes, it's giving postal worker but make it Perl. let's get into it ๐
โจ NAME โจ
Sympa::Mailer โ stores messages so they can go to sendmail ๐ฎ
๐ฆ SYNOPSIS ๐ฆ
use Sympa::Mailer;
use Sympa::Process;
my $mailer = Sympa::Mailer->instance;
my $process = Sympa::Process->instance;
$mailer->store($message, ['user1@dom.ain', user2@other.dom.ain']);
see how easy that was?? main character energy fr fr โจ
๐ DESCRIPTION ๐
so basically, Sympa::Mailer implements the class that invokes sendmail processes and stores messages into them. it's the go-between. the middlewoman. the bestie who knows a girl who knows a girl at the post office ๐ซถ
๐ธ Methods ๐ธ
instance ( )โ the constructor, babes! creates a singleton instance of theSympa::Mailerobject. one of her, only her, periodt ๐
Returns:
- a brand new
Sympa::Mailerinstance, orundefif it didn't work out ๐ญ
reaper ( [ blocking => 1 ] )โ ๐ DEPRECATED, girl. use"reap_child" in Sympa::Processinstead.
Instance method. a non-blocking function that gets called by the main loop of sympa, task_manager, bounced etc., just to clean up the defuncts list by waiting on any processes and decrementing the counter. janitorial realness ๐งน
Parameter:
blocking => 1โ operation would block.
Returns:
PID.
store ( $message, $rcpt, [ envid => $envid ], [ tag => $tag ] )โ the moment we've all been waiting for โจ
Instance method. makes a sendmail ready for the recipients given as an argument, and uses a file descriptor in the smtp table which can be imported by other parties. and before all that? she waits for number of children process < number allowed by sympa.conf. patience is a virtue bestie ๐
Parameters:
$messageโ the message to be sent.
the {envelope_sender} attribute of the message gets used as the SMTP "MAIL FROM:" field. no cap.
$rcptโ scalar, scalarref or arrayref, for the SMTP"RCPT TO:"field. she's flexible like that ๐envid => $envidโ an envelope ID of this message submission in the notification table. see alsoSympa::Tracking.tag => $tagโ TBD ๐ (yes, literally just "TBD". iconic honestly.)
Returns:
- filehandle on an opened pipe to output the SMTP
"DATA"field. otherwise"undef"๐
๐ Attributes ๐
a Sympa::Mailer instance may have the following attributes, babes:
{log_smtp}โ if a true value is set, every single invocation of the sendmail process will be logged. she's documenting everything, like a true diary keeper ๐{redundancy}โ a positive integer. if set, the maximum number of invocations of sendmail is divided by this value. math girlie behavior ๐ฅ
๐ SEE ALSO ๐
you're gonna wanna check out her friends too, they're all iconic:
Sympa::MessageSympa::ProcessSympa::Spool::ListmasterSympa::Spool::Outgoing
๐ HISTORY ๐
Sympa::Mailer, the rewrite of mail.pm, appeared on Sympa 6.2. glow-up of the century honestly ๐
and that's the whole thing bestie!! Sympa::Mailer from sympa 6.2.80, dated 2026-10-19 โ she's stable, she's gorgeous, she's sending your mail. slay, no cap, periodt ๐โจ๐ฆ๐
๐ฆ where this page comes from
- fedora 43: sympa-devel-doc 6.2.80-2.fc43 ยท GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- fedora 44: sympa-devel-doc 6.2.80-2.fc44 ยท GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms