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

Add ability to throttle mail sending

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.4-rc-1
    • 6.4-milestone-3
    • Mail
    • None
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: