Net::SMTP - Simple Mail Transfer Protocol Client

NAME SYNOPSIS DESCRIPTION EXAMPLES CONSTRUCTOR METHODS ADDRESSES SEE ALSO AUTHOR COPYRIGHT NAME Net::SMTP - Simple Mail Transfer Protocol Client SYNOPSIS use Net::SMTP; # Constructors $smtp = Net::SMTP->new('mailhost'); $smtp = Net::SMTP->new('mailhost', Timeout => 60); DESCRIPTION This module implements a client interface to the SMTP and ESMTP protocol, enabling a perl5 application to talk to SMTP servers. This documentation assumes that you are familiar with the concepts of the S

Net::servent - by-name interface to Perl's built-in getserv*() functions

NAME SYNOPSIS DESCRIPTION EXAMPLES NOTE AUTHOR NAME Net::servent - by-name interface to Perl's built-in getserv*() functions SYNOPSIS use Net::servent; $s = getservbyname(shift || 'ftp') || die "no service"; printf "port for %s is %s, aliases are %s\n", $s->name, $s->port, "@{$s->aliases}"; use Net::servent qw(:FIELDS); getservbyname(shift || 'ftp') || die "no service"; print "port for $s_name is $s_port, aliases are @s_aliases\n"; DESCRIPTION This module's default exports overr

Net::protoent - by-name interface to Perl's built-in getproto*() functions

NAME SYNOPSIS DESCRIPTION NOTE AUTHOR NAME Net::protoent - by-name interface to Perl's built-in getproto*() functions SYNOPSIS use Net::protoent; $p = getprotobyname(shift || 'tcp') || die "no proto"; printf "proto for %s is %d, aliases are %s\n", $p->name, $p->proto, "@{$p->aliases}"; use Net::protoent qw(:FIELDS); getprotobyname(shift || 'tcp') || die "no proto"; print "proto for $p_name is $p_proto, aliases are @p_aliases\n"; DESCRIPTION This module's default exports override

Net::POP3 - Post Office Protocol 3 Client class (RFC1939)

NAME SYNOPSIS DESCRIPTION CONSTRUCTOR METHODS NOTES SEE ALSO AUTHOR COPYRIGHT NAME Net::POP3 - Post Office Protocol 3 Client class (RFC1939) SYNOPSIS use Net::POP3; # Constructors $pop = Net::POP3->new('pop3host'); $pop = Net::POP3->new('pop3host', Timeout => 60); $pop = Net::POP3->new('pop3host', SSL => 1, Timeout => 60); if ($pop->login($username, $password) > 0) { my $msgnums = $pop->list; # hashref of msgnum => size foreach my $msgnum (keys %$msgnums) {

Net::Ping - check a remote host for reachability

NAME SYNOPSIS DESCRIPTIONFunctions NOTES INSTALL BUGS AUTHORS COPYRIGHT NAME Net::Ping - check a remote host for reachability SYNOPSIS use Net::Ping; $p = Net::Ping->new(); print "$host is alive.\n" if $p->ping($host); $p->close(); $p = Net::Ping->new("icmp"); $p->bind($my_addr); # Specify source interface of pings foreach $host (@host_array) { print "$host is "; print "NOT " unless $p->ping($host, 2); print "reachable.\n"; sleep(1); } $p->close(); $p

Net::NNTP - NNTP Client class

NAME SYNOPSIS DESCRIPTION CONSTRUCTOR METHODSExtension methods UNSUPPORTED DEFINITIONS SEE ALSO AUTHOR COPYRIGHT NAME Net::NNTP - NNTP Client class SYNOPSIS use Net::NNTP; $nntp = Net::NNTP->new("some.host.name"); $nntp->quit; # start with SSL, e.g. nntps $nntp = Net::NNTP->new("some.host.name", SSL => 1); # start with plain and upgrade to SSL $nntp = Net::NNTP->new("some.host.name"); $nntp->starttls; DESCRIPTION Net::NNTP is a class implementing a simple NNTP client in

Net::Netrc - OO interface to users netrc file

NAME SYNOPSIS DESCRIPTION THE .netrc FILE CONSTRUCTOR METHODS AUTHOR SEE ALSO COPYRIGHT NAME Net::Netrc - OO interface to users netrc file SYNOPSIS use Net::Netrc; $mach = Net::Netrc->lookup('some.machine'); $login = $mach->login; ($login, $password, $account) = $mach->lpa; DESCRIPTION Net::Netrc is a class implementing a simple interface to the .netrc file used as by the ftp program. Net::Netrc also implements security checks just like the ftp program, these checks are, first that

Net::netent - by-name interface to Perl's built-in getnet*() functions

NAME SYNOPSIS DESCRIPTION EXAMPLES NOTE AUTHOR NAME Net::netent - by-name interface to Perl's built-in getnet*() functions SYNOPSIS use Net::netent qw(:FIELDS); getnetbyname("loopback") or die "bad net"; printf "%s is %08X\n", $n_name, $n_net; use Net::netent; $n = getnetbyname("loopback") or die "bad net"; { # there's gotta be a better way, eh? @bytes = unpack("C4", pack("N", $n->net)); shift @bytes while @bytes && $bytes[0] == 0; } printf "%s is %08X [%d.%d.%d.%d]\n

Net::hostent - by-name interface to Perl's built-in gethost*() functions

NAME SYNOPSIS DESCRIPTION EXAMPLES NOTE AUTHOR NAME Net::hostent - by-name interface to Perl's built-in gethost*() functions SYNOPSIS use Net::hostent; DESCRIPTION This module's default exports override the core gethostbyname() and gethostbyaddr() functions, replacing them with versions that return "Net::hostent" objects. This object has methods that return the similarly named structure field name from the C's hostent structure from netdb.h; namely name, aliases, addrtype, length, and addr_l

Net::FTP::dataconn - FTP Client data connection class

NAME DESCRIPTION NAME Net::FTP::dataconn - FTP Client data connection class DESCRIPTION Some of the methods defined in Net::FTP return an object which will be derived from this class. The dataconn class itself is derived from the IO::Socket::INET class, so any normal IO operations can be performed. However the following methods are defined in the dataconn class and IO should be performed using these. read ( BUFFER, SIZE [, TIMEOUT ] ) Read SIZE bytes of data from the server and place it into