Help for this page

Select Code to Download


  1. or download this
    The `recipient' method can some additional OPTIONS
    which is passed in hash like fashion, using key
    ...
    return an error when a bad address is encountered
    and it will return an array of addresses that did
    succeed.
    
  2. or download this
    #!/usr/bin/perl
    use Net::SMTP;
    ...
    die "Ugh." unless defined $smtp;
    my @recipients = $smtp->recipient('collin.starkweather@colorado.edu','
    +joe@flugwumpet.com', Notify => 1, SkipBad => 1);
    print "Recipients are [@recipients]\n";
    
  3. or download this
    What? ~/bin/test.pl
    Recipients are [0]
    What?