Mail::QmailRemoteXS - Lightweight (XS) SMTP send function based on Qmail's qmail-remote


Mail-QmailRemoteXS documentation  | view source Contained in the Mail-QmailRemoteXS distribution.

Index


NAME

Top

Mail::QmailRemoteXS - Lightweight (XS) SMTP send function based on Qmail's qmail-remote

SYNOPSIS

Top

  use Mail::QmailRemoteXS;

  $ret = Mail::QmailRemoteXS::mail($to_domain,$from_address,$to_address,$msg,$helo,$net_timeout,$net_timeoutconnect);

DESCRIPTION

Top

This module provides a single function mail that sends an e-mail message via SMTP. It uses an XS implementation of Qmail's qmail-remote binary written in C so is very lightweight and fast (compared to Net::SMTP).

The difference between Mail::QmailRemote (IKEBE Tomohiro) and Mail::QmailRemoteXS is that the former requires the qmail package to be installed and simply invokes a wrapper around the qmail-remote binary for each send. This module statically links code based on qmail-remote and has no dependencies other that a working resolver.

FUNCTIONS

Top

mail
 $ret = Mail::QmailRemoteXS::mail($to_domain,$from_address,$to_address,$msg,$helo,$net_timeout,$net_timeoutconnect);

Send an email message $msg (which includes rfc822 headers) to $to_address from $from_address using $helo as the SMTP HELO greeting. $net_timeoutconnect is for the initial SMTP connection and $net_timeout is for the wait time for SMTP responses.

See Qmail's qmail-remote manpage for more information and details on the return value $ret.

BUGS

Top

Some reports of mail hanging indefinitely during an SMTP session.

AUTHOR

Top

Reed Sandberg, <reed_sandberg Ӓ yahoo>

SEE ALSO

Top

Qmail docs for qmail-remote. Net::SMTP

COPYRIGHT

Top


Mail-QmailRemoteXS documentation  | view source Contained in the Mail-QmailRemoteXS distribution.