The `recipient' method can some additional OPTIONS
which is passed in hash like fashion, using key
and value pairs. Possible options are:
Notify =>
SkipBad => ignore bad addresses
If `SkipBad' is true the `recipient' will not
return an error when a bad address is encountered
and it will return an array of addresses that did
succeed.
####
#!/usr/bin/perl
use Net::SMTP;
my $smtp = Net::SMTP->new('rintintin.colorado.edu');
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";
####
What? ~/bin/test.pl
Recipients are [0]
What?