in reply to Re^2: As for sending more than one contact using perl TLS gmail
in thread As for sending more than one contact using perl TLS gmail

Remove the \n from your email adresses:

$smtp->to("some1\@gmail.com", "some2\@gmail.com");