I am trying to send email using Gmail SMTP server from java (deployed in tomcat). When doing load testing if the number of request / sec to SMTP server grows more (>20) I get this exception
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587;
nested exception is:java.net.ConnectException: Connection timed out
Is there any limitations in access rate for Gmail SMTP server ? Should I introduce delay between each request ?