NAME

Mail::Transport::Mailx - transmit messages using external mailx program

CLASS HIERARCHY

Mail::Transport::Mailx
is a Mail::Transport
is a Mail::Reporter

SYNOPSIS

my $sender = Mail::Transport::Mailx->new(...);
$sender->send($message);

DESCRIPTION

Implements mail transport using the external programs 'mailx', Mail, or 'mail'. When instantiated, the mailer will look for any of these binaries in specific system directories, and the first program found is taken.

Under Linux, freebsd, and bsdos the mail, Mail, and mailx names are just links. They are very primitive, what will cause many headers to be lost. For these platforms, you can better not use this transport mechanism.

METHOD INDEX

Methods prefixed with an abbreviation are described in Mail::Reporter (MR), Mail::Transport (MT).

The general methods for Mail::Transport::Mailx objects:

MR errors                            MT send MESSAGE, OPTIONS
MR log [LEVEL [,STRINGS]]            MR trace [LEVEL]
   new OPTIONS                       MT trySend MESSAGE, OPTIONS
MR report [LEVEL]                    MR warnings
MR reportAll [LEVEL]

The extra methods for extension writers:

MR AUTOLOAD                          MR logPriority LEVEL
MR DESTROY                           MR logSettings
MT findBinary NAME [, DIRECTOR...    MR notImplemented
MR inGlobalDestruction               MT putContent MESSAGE, FILEHAN...

METHODS

new OPTIONS
OPTION       DESCRIBED IN       DEFAULT
log          Mail::Reporter     'WARNINGS'
proxy        Mail::Transport    undef
trace        Mail::Reporter     'WARNINGS'
via          Mail::Transport    <unused>

SEE ALSO

Mail::Box-Overview

For support and additional documentation, see http://perl.overmeer.net/mailbox/

AUTHOR

Mark Overmeer (mailbox@overmeer.net). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

VERSION

This code is beta, version 2.017.

Copyright (c) 2001-2002 Mark Overmeer. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.