p4raw-id: //depot/perl@13306
use Net::Cmd;
use Net::Config;
-$VERSION = "2.18"; # $Id: //depot/libnet/Net/SMTP.pm#19 $
+$VERSION = "2.19"; # $Id: //depot/libnet/Net/SMTP.pm#20 $
@ISA = qw(Net::Cmd IO::Socket::INET);
sub hello
{
my $me = shift;
- my $domain = shift ||
- eval {
- require Net::Domain;
- Net::Domain::hostfqdn();
- } ||
- "";
+ my $domain = shift || "localhost.localdomain";
my $ok = $me->_EHLO($domain);
my @msg = $me->message;
=for html <hr>
-I<$Id: //depot/libnet/Net/SMTP.pm#19 $>
+I<$Id: //depot/libnet/Net/SMTP.pm#20 $>
=cut