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

Mail::Transport::Sendmail - transmit messages using external Sendmail program

CLASS HIERARCHY

 Mail::Transport::Sendmail
 is a Mail::Transport::Send
 is a Mail::Transport
 is a Mail::Reporter

SYNOPSIS

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

DESCRIPTION

Implements mail transport using the external 'Sendmail' program. When instantiated, the mailer will look for the binary in specific system directories, and the first verions found is taken.

METHOD INDEX

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

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

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

The extra methods for extension writers:

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

METHODS

new OPTIONS
 OPTION       DESCRIBED IN       DEFAULT
 hostname  Mail::Transport        <not used>
 interval  Mail::Transport        30
 log       Mail::Reporter         'WARNINGS'
 password  Mail::Transport        <not used>
 proxy     Mail::Transport        <autodetect>
 retry     Mail::Transport        undef
 timeout   Mail::Transport        <not used>
 trace     Mail::Reporter         'WARNINGS'
 username  Mail::Transport        <not used>
 via       Mail::Transport        'sendmail'

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.018.

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.