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

Try sending the multiple recipients as an array. Such as: @to = ('first@yahoo.com', 'second@server.com'); $smtp->recipient(@to); It worked for me :)
  • Comment on Re: Using Net::SMTP to Bcc, Cc or multiple recipients

Replies are listed 'Best First'.
Re: Answer: Using Net::SMTP to Bcc, Cc or multiple recipients
by Anonymous Monk on Sep 29, 2008 at 13:33 UTC
    the answer is fine,its works
      all you need to do is following in @to have an array fo reciepients and then foreach (@to) { $smtp->datasend("To: $_\n"); }
Re: Answer: Using Net::SMTP to Bcc, Cc or multiple recipients
by Anonymous Monk on Apr 01, 2010 at 19:20 UTC
    Does not work for me!