Intermittent "Connection timed out" when sending mails using tSendMail

Talend Version (Required)       All versions


Issue with tSendMail when sending more than 2 mails in a loop.
Additional Versions  
Product (Required) DI
Component (Required) Component
Problem Description

Sometimes when tSendMail is executed for a third or fourth time, it fails with the following message:

"Exception in component tSendMail_1
javax.mail.MessagingException: Could not connect to SMTP host:, port: 25;
nested exception is: Connection timed out"


Then tSendMail would work again after few minutes.

Problem root cause

The server where the Job is running is an instance of Amazon AWS, which has some SMTP Sending Limits:

Solution or Workaround

Fill in a form (as suggested by Amazon) to request that the SMTP limit be increased or disabled.

JIRA ticket number  
Version history
Revision #:
6 of 6
Last update:
‎04-04-2019 01:29 AM
Updated by: