Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Using Net::SMTP to Bcc, Cc or multiple recipients

by Anonymous Monk
on Apr 15, 2001 at 04:59 UTC ( [id://72628]=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://72628]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found