http://qs321.pair.com?node_id=107758


in reply to sending the same email more than once without connecting to smtp for every To adress

Actually, you can do it just as you described. Just pass an array to the "to" method...
my $smtp = Net::SMTP->new($srv); $smtp->mail('root@localhost'); $smtp->to(@emails); $smtp->data(); $smtp->datasend("Your data goes here.\n"); ....
Hope this helps..
Rich