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: email1@gmail.com, email2@gmail.com, email3@gmail.com Reply | Reply to all | Forward | Print | Delete | Show original how are u

here is my code

my @email_addresses = ('email2@gmail.com', 'email2@gmail.com', 'email3 +@gmail.com'); $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 (Archbishop) on May 23, 2017 at 20:56 UTC

    Great. tobyink’s approach is right for what you want. Mail each separately.