Lines Matching defs:SMTP

1 # Net::SMTP.pm
7 package Net::SMTP;
19 $VERSION = "2.26"; # $Id: //depot/libnet/Net/SMTP.pm#31 $
226 carp 'Net::SMTP::mail: SIZE option not supported by host';
238 carp 'Net::SMTP::mail: DSN option not supported by host';
252 carp 'Net::SMTP::mail: 8BITMIME option not supported by host';
264 carp 'Net::SMTP::mail: BINARYMIME option not supported by host';
273 carp 'Net::SMTP::mail: 8BITMIME and BINARYMIME options not supported by host';
285 carp 'Net::SMTP::mail: CHECKPOINT option not supported by host';
298 carp 'Net::SMTP::mail: DSN option not supported by host';
302 carp 'Net::SMTP::recipient: unknown option(s) '
309 carp 'Net::SMTP::mail: ESMTP not supported by host - options discarded :-(';
356 carp 'Net::SMTP::recipient: DSN option not supported by host';
360 carp 'Net::SMTP::recipient: unknown option(s) '
367 carp 'Net::SMTP::recipient: ESMTP not supported by host - options discarded :-(';
398 carp 'Net::SMTP::data: CHUNKING extension in use, must call bdat instead';
422 carp 'Net::SMTP::bdat: CHUNKING extension is not in use, call data instead';
439 carp 'Net::SMTP::bdat: CHUNKING extension is not in use, call data instead';
510 Net::SMTP - Simple Mail Transfer Protocol Client
514 use Net::SMTP;
517 $smtp = Net::SMTP->new('mailhost');
518 $smtp = Net::SMTP->new('mailhost', Timeout => 60);
522 This module implements a client interface to the SMTP and ESMTP
523 protocol, enabling a perl5 application to talk to SMTP servers. This
525 SMTP protocol described in RFC821.
527 A new Net::SMTP object must be created with the I<new> method. Once
528 this has been done, all SMTP commands are accessed through this object.
530 The Net::SMTP class is a subclass of Net::Cmd and IO::Socket::INET.
534 This example prints the mail domain name of the SMTP server known as mailhost:
538 use Net::SMTP;
540 $smtp = Net::SMTP->new('mailhost');
544 This example sends a small message to the postmaster at the SMTP server
549 use Net::SMTP;
551 $smtp = Net::SMTP->new('mailhost');
568 =item new Net::SMTP [ HOST, ] [ OPTIONS ]
570 This is the constructor for a new Net::SMTP object. C<HOST> is the
571 name of the remote host to which an SMTP connection is required.
582 B<Hello> - SMTP requires that you identify yourself. This option
590 SMTP server (default: 120)
594 Net::SMTP will attempt to extract the address from the value passed.
602 $smtp = Net::SMTP->new('mailhost',
626 Returns the domain that the remote SMTP server identified itself as during
633 automatically when the Net::SMTP object is constructed the user should
732 Send the QUIT command to the remote SMTP server and close the socket connection.
738 Net::SMTP attempts to DWIM with addresses that are passed. For
745 should be a valid rfc2821-quoted address, although Net::SMTP will
768 I<$Id: //depot/libnet/Net/SMTP.pm#31 $>