Sympa::Mailer(3Sympa) | sympa 6.2.70 | Sympa::Mailer(3Sympa) |
Sympa::Mailer - Store messages to sendmail
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']);
Sympa::Mailer implements the class to invoke sendmail processes and store messages to them.
Returns:
A new Sympa::Mailer instance, or undef for failure.
Instance method. Non blocking function called by: main loop of sympa, task_manager, bounced etc., just to clean the defuncts list by waiting to any processes and decrementing the counter.
Parameter:
Returns:
PID.
Parameters:
{envelope_sender} attribute of the message will be used as SMTP "MAIL FROM:" field.
Returns:
Filehandle on opened pipe to output SMTP "DATA" field. Otherwise "undef".
Sympa::Mailer instance may have following attributes:
Sympa::Message, Sympa::Process, Sympa::Spool::Listmaster, Sympa::Spool::Outgoing.
Sympa::Mailer, the rewrite of mail.pm, appeared on Sympa 6.2.
2023-01-26 | 6.2.70 |