Help for this page

Select Code to Download


  1. or download this
    my $smtp;
    $smtp = Net::SMTP->new( $mailhost, Timeout =} $tmout );
    ...
    {print server response here}
    
    $smtp>quit;
    
  2. or download this
    $response=$smtp->mail( $fromaddr );
    print "$response\n";