in reply to Re: Answer: Using Net::SMTP to Bcc, Cc or multiple recipients
in thread Using Net::SMTP to Bcc, Cc or multiple recipients

all you need to do is following in @to have an array fo reciepients and then foreach (@to) { $smtp->datasend("To: $_\n"); }
  • Comment on Re^2: Answer: Using Net::SMTP to Bcc, Cc or multiple recipients