home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 July / APC0407D2.iso / workshop / apache / files / ActivePerl-5.8.3.809-MSWin32-x86.msi / _43a8452522a083bafe0c2e3669694bd4 < prev    next >
Encoding:
Text File  |  2004-02-02  |  206 b   |  10 lines

  1. #!/usr/local/bin/perl
  2.  
  3. use Net::DummyInetd;
  4. use Net::SMTP;
  5.  
  6. $p = new Net::DummyInetd qw(/usr/lib/sendmail -ba -bs);
  7.  
  8. $smtp = Net::SMTP->new('localhost', Port => $p->port, Debug => 7);
  9. $smtp->quit;
  10.