Timeout when sending bulk emails to more than 500 users

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Low
    • Component/s: Notification - Email
    • None
    • 1
    • Severity 3 - Minor

      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

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

              Created:
              Updated:
              Resolved: