Index: ossp-pkg/l2/l2.pod RCS File: /v/ossp/cvs/ossp-pkg/l2/l2.pod,v rcsdiff -q -kk '-r1.4' '-r1.5' -u '/v/ossp/cvs/ossp-pkg/l2/l2.pod,v' 2>/dev/null --- l2.pod 2001/08/15 10:36:03 1.4 +++ l2.pod 2001/09/14 13:26:16 1.5 @@ -49,5 +49,66 @@ The following functions are provided by the B API: +=head1 AVAILABLE CHANNEL HANDLERS + +=head2 SMTP Output Channel Handler (l2_handler_smtp) + +The SMTP output channel handler C sends the incoming +message via Simple Mail Transfer Protocol (SMTP) as an Email to a remote +mail service. It conforms to RFC 2821 (Simple Mail Transfer Protocol; J. +Klensin; April 2001) and RFC 2822 (Internet Message Format; P. Resnick; +April 2001). + +It provides the following channel parameters: + +=over 4 + +=item B (optional, C) + +Arbitrary string identifying the program using B. +Default is C which means no program identification. + +=item B (optional, C) + +Hostname of the underlying machine. +Default is set through uname(3) or C. + +=item B (optional, C) + +Username corresponding to the UID of the underlying process. +Default is set through resolving getuid(2) or C. + +=item B (optional, C) + +Sender Email address for outgoing mails. +Default is set through B and B. + +=item B (I, C) + +Recipient Email address for outgoing mails. +No default exists, user has to provide value. + +=item B (optional, C) + +Arbitrary string identifying the generated Email message. +Default is C<[L2] log channel output on {localhost}>. + +=item B (I, C) + +Host name or IP address of the remote SMTP service. +No default exists, user has to provide value. + +=item B (optional, C) + +Port name or number of the remote SMTP service. +Default is C (25). + +=item B (optional, C) + +Timeout in seconds for all I/O operations. +Default is C<30>. + +=back + =cut