The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

TL::Sendmail::MailQueue - Mail Sending that uses tripletail original (ja)

NAME (ja)

TL::Sendmail::MailQueue::JA - ��㋝�ŝ�勉�<�若�˨�㏍�ャ�若��篏睡����������<�若�̹��篆

SYNOPSIS

  my $smail = $TL->newSendmail('SendMailQueue');
  
  $smail->send(...);
  $smail->send(...);
  $smail->send(...);
  
  $smail->process;

DESCRIPTION

���篆∴��羆������������<�若�˨�����Lib7��勉�<�若�˨�㏍�ャ�若�˩��絖�������鐚

��㏍�ャ�弱����˩��絖������������<�若�˨�壔��"process" ��若�喝�冴�������˩����㋘����☁�����������������

METHODS

new

TL::Sendmail �����с��

connect
disconnect

篏���������ŝ�����

setTimeout

TL::Sendmail::Smtp �����с�����篆≧����勉�帥�ゃ����≪�⓾�����������荐㊤�����������

send

TL::Sendmail �����с��

process
  $smail->process

絎������勰��篆≦�☎�����茵�������筝���㋘�˨����勉�<�純�������壠�☎�������������������������冴�� CGI��勉����㏍�祉�鴻�������贋・��若�吟�鴻����с�壔�ŝ�����

Ini �����í�<�若�

queuedir
  queuedir = /home/www/mqueue/

��<�若�˨�㏍�ャ�若����c�㋘�壔����ŝ��

timeout
host

TL::Sendmail::Smtp �����

erroraddr
  erroraddr = null@example.org%localhost

���篆<����í�惹����˨����í�若�<�若�˨����������ŝ����������勰��篆≦��������絎����

null@example.org%localhost ��勉�������˩戎���������smtp��泣�若����若�����絎���������� %篁ラ����夌����ュ櫝�純�с�������ャ����������翫�����localhost�����ŝ�����

errorlog
  errorlog = 1

���篆<����í�惹����˨����í�若�㏍�違��荐���蚊����������í�������� 0��勐�翫�����篆�絖������ŝ����� 1��勐�翫�����篆�絖����������

絎�茖�

��<�若�˨�㏍�ャ�

��<�若�˨�㏍�ャ�若�勉����c�㋘�壔����ŝ�˨�壔��queue,incoming,outgoing ��卡����ゃ�勉����c�㋘�壔����ŝ�� 篏����羝���帥�с�����筝���勉����若����c�激�с�潟�˨�ŝ�������違�ŝ����ŝ�����

��<�若�˨�壔��鐚�茵���勉�˨����潟����㏍�若��From���鐚�茵���勌札�����˨����潟����㏍�若��To���鐚�茵�鐚���≪����㋘�鴻� ���������腥肴����������帥�������勐�������㋛�������若�帥��膓���������壕����潟�若����� \r\n ������������

���篆≧�� (TL::MailQueue)

��域����˨�㏍�ャ�若�˨�<�若�˨����ャ�������翫����壔��incoming �����c�㋘�壔����ɱ����˩����������⓾����� queue ��� rename(2) ��������������<�ゃ�������壔�������祉�������㏍�祉��ID膈����篏帥����� ��⓾����若�壔�˨�ŝ����������ŝ����勉�����������

���篆≧�� (mailqueue-process)

��<�若�˨����☎����������������姒��outgoing ��� rename �����⓾�������☎�����茵�������腟������c����� rm ���������rename(2) �����������������<�ゃ�������勖��絨障�˨��.�����������㏍�祉��ID���荐�菴違��������

��<�若�˨��絎���������̬Ě��祉�����荐㊤�����������MTA���SMTP��ч��篆<��茵�������failure ��勐�翫���� ���絎���≪����㋘�鴻�˨�<�若�˨����������������㏍�違����吾��莨若��鐚�荐㊤����у����翫櫝�緒�����deferral ��勐�翫����� queue �����c�㋘�壔����ŝ�� rename(2) ��ф�祉��������絨障�� .$pid ��壔����勉�障�上吋罩眼��

篆勐奨 (mailqueue-recover)

�����㏍�祉�鴻��絖���������ŝ����勉�˨��outgoing ��˨����<�ゃ�˨����������翫����壔��deferral �������� queue �����c�㋘�壔����ŝ��rename(2) ��ф�祉��������絨障�� .$pid ��壔����勉�障�上吋罩眼��

�����㏍�祉�鴻��絖���������ŝ����勉��incoming��˨����<�ゃ�˨����������翫����壔����������������ゃ��������

SEE ALSO

TL
TL::Sendmail

AUTHOR INFORMATION

    Copyright 2006 YMIRLINK Inc. All Rights Reserved.

    This framework is free software; you can redistribute it and/or modify it under the same terms as Perl itself

    �����勉����㋘�若����壔�若�壔�壔����ŝ�若�純�������⓾�с�≪�с����������ŝ����� Perl �����������í�ゃ�祉�潟�鴻�� �����у�����絽������喝����眼��茵���������������堺�ャ�障�����

    Address bug reports and comments to: tl@tripletail.jp

    HP : http://tripletail.jp/