Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-71797

Timeout when sending bulk emails to more than 500 users

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Low Low
    • Notification - Email
    • None

      Summary

      When sending bulk emails to a huge number of users (> ~500) will cause a timeout

      Steps to Reproduce

      1. Use the bulk email feature to send bulk email - https://<cloudinstance>.atlassian.net/secure/admin/SendBulkMail!default.jspa

      Expected Results

      Emails are sent to the users

      Actual Results

      Time out.

      Application logs:

      Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: atlassian.smtp.e.sparkpost.com, 587; timeout 10000;
        nested exception is:
      	java.net.SocketTimeoutException: connect timed out
      	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118)
      	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)
      	at javax.mail.Service.connect(Service.java:388)
      	at javax.mail.Service.connect(Service.java:246)
      	at javax.mail.Service.connect(Service.java:195)
      	at com.atlassian.mail.server.impl.SMTPMailServerImpl.sendWithMessageId(SMTPMailServerImpl.java:159)
      	... 346 more
      
      Failed to send email to :  <email address>
      

      Workaround

      Limit the recipient to 300

              Unassigned Unassigned
              mariffin Mohamed Hazwan Ariffin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: