Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11620

Add ability to throttle mail sending

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4-milestone-3
    • Fix Version/s: 6.4-rc-1
    • Component/s: Mail
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      In order to not be considered a spammer by some mail servers. The idea is to have 2 config parameters:

          /**
           * @return the number of mails to send before waiting {@link #getPacketDelay()} milliseconds before starting the
           *         next packet. Used to implement email Throttling.
           */
          int getPacketSize();
      
          /**
           * @return the delay in milliseconds to wait between each packet of {@link #getPacketSize()} mails sent before
           *         starting the next packet. Used to implement email Throttling.
           */
          long getPacketDelay();
      

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: