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

So I put as an example, I do not know how to get a message to more than one contact gmail.
$smtp->to("some1@gmail.com\n", "some2@gmail.com\n");
jethro, even with the changes do not run.
$smtp->to("some1\@gmail.com\n", "some2\@gmail.com\n");
return erro:
Couldn't send TO <some1@gmail.com >: 503 5.5.1 MAIL first. v39sm373565yba.19 at gmail_test.pl line 235

Replies are listed 'Best First'.
Re^3: As for sending more than one contact using perl TLS gmail
by jethro (Monsignor) on Jan 28, 2011 at 23:18 UTC

    Remove the \n from your email adresses:

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