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

Re^2: sending to multiple addressess

by bigup401 (Scribe)
on May 23, 2017 at 20:49 UTC ( #1191023=note: print w/replies, xml ) Need Help??

in reply to Re: sending to multiple addressess
in thread sending to multiple addressess

no am not using it for spam, i want to be able to mail all my users in my database

its still showing same thing brings all recipients

here is how the delivery looks like

To:,, Reply | Reply to all | Forward | Print | Delete | Show original how are u

here is my code

my @email_addresses = ('', '', 'email3'); $from = 'support@mydomain'; $subject = "hello users"; $message = "how are u"; $msg = MIME::Lite->new( From => $from, To => \@email_addresses, Subject => $subject, Data => $message ); $msg->send;

Replies are listed 'Best First'.
Re^3: sending to multiple addressess
by Your Mother (Chancellor) on May 23, 2017 at 20:56 UTC

    Great. tobyinks approach is right for what you want. Mail each separately.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1191023]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2017-05-24 01:54 GMT
Find Nodes?
    Voting Booth?