Rails, gmail client and mass-emailing failure

Hello,

I build from scratch an email componenent to my webapp using
actionmailer.
All my single email went to destination, but when I try to send
mass-emailing from the console, it sends few then crash as follow :

Any idea ? Thanks in advance !!

“221 2.0.0 closing connection 28sm928123eye.4\r\n”
→ “220 mx.google.com ESMTP 24sm234383eyx.3\r\n”
← “EHLO vinprive.net\r\n”
→ “250-mx.google.com at your service, [88.191.88.39]\r\n”
→ “250-SIZE 35651584\r\n”
→ “250-8BITMIME\r\n”
→ “250-STARTTLS\r\n”
→ “250-ENHANCEDSTATUSCODES\r\n”
→ “250 PIPELINING\r\n”
← “STARTTLS\r\n”
→ “220 2.0.0 Ready to start TLS\r\n”
← “EHLO vinprive.net\r\n”
→ “250-mx.google.com at your service, [88.191.88.39]\r\n”
→ “250-SIZE 35651584\r\n”
→ “250-8BITMIME\r\n”
→ “250-AUTH LOGIN PLAIN\r\n”
→ “250-ENHANCEDSTATUSCODES\r\n”
→ “250 PIPELINING\r\n”
← “AUTH PLAIN AHZpbnByaXZlQHZpbnByaXZlLm5ldABsYWJlbGV0dGU=\r\n”
→ “235 2.7.0 Accepted\r\n”
← “MAIL FROM:[email protected]\r\n”
→ “250 2.1.0 OK 24sm234383eyx.3\r\n”
← “RCPT TO:[email protected]\r\n”
→ “250 2.1.5 OK 24sm234383eyx.3\r\n”
← “DATA\r\n”
→ “354 Go ahead 24sm234383eyx.3\r\n”
writing message from String
wrote 214569 bytes
→ “250 2.0.0 OK 1248964197 24sm234383eyx.3\r\n”
← “QUIT\r\n”
→ “221 2.0.0 closing connection 24sm234383eyx.3\r\n”
→ “220 mx.google.com ESMTP 10sm1237009eyd.52\r\n”
← “EHLO vinprive.net\r\n”
→ “250-mx.google.com at your service, [88.191.88.39]\r\n”
→ “250-SIZE 35651584\r\n”
→ “250-8BITMIME\r\n”
→ “250-STARTTLS\r\n”
→ “250-ENHANCEDSTATUSCODES\r\n”
→ “250 PIPELINING\r\n”
← “STARTTLS\r\n”
→ “220 2.0.0 Ready to start TLS\r\n”
← “EHLO vinprive.net\r\n”
→ “250-mx.google.com at your service, [88.191.88.39]\r\n”
→ “250-SIZE 35651584\r\n”
→ “250-8BITMIME\r\n”
→ “250-AUTH LOGIN PLAIN\r\n”
→ “250-ENHANCEDSTATUSCODES\r\n”
→ “250 PIPELINING\r\n”
← “AUTH PLAIN AHZpbnByaXZlQHZpbnByaXZlLm5ldABsYWJlbGV0dGU=\r\n”
→ “535-5.7.1 Username and Password not accepted. Learn more at
\r\n”
→ “535 5.7.1 Check Gmail through other email platforms - Gmail Help
10sm1237009eyd.52\r\n”
Net::SMTPAuthenticationError: 535-5.7.1 Username and Password not
accepted. Learn more at
535 5.7.1 Check Gmail through other email platforms - Gmail Help
10sm1237009eyd.52

from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/1.8/net/smtp.rb:576:in
auth_plain' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/1.8/net/smtp.rb:570:in send
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/1.8/net/smtp.rb:570:in
authenticate' from /var/rails/vin-prive/production/releases/20090730141531/config/initializers/smtp_tls.rb:28:in do_start’
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/1.8/net/smtp.rb:377:in
start' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/1.8/net/smtp.rb:315:in start’
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:628:in
perform_delivery_smtp' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:508:in send
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:508:in
deliver!' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in method_missing’
from
/var/rails/vin-prive/production/releases/20090730141531/app/models/email.rb:38:in
`deliver’