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...
Rich
Hope this helps..my $smtp = Net::SMTP->new($srv); $smtp->mail('root@localhost'); $smtp->to(@emails); $smtp->data(); $smtp->datasend("Your data goes here.\n"); ....
Rich
In Section
Seekers of Perl Wisdom