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

Simplify API and implementation by limiting usage of javax.mail.Session to sending tasks

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.1-milestone-1
    • Fix Version/s: 7.1-milestone-2
    • Component/s: Mail
    • Labels:
      None
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      javax.mail.Session was already unused and inconsistently maintained during message building, or in message factories, so drop usage of effective javax.mail.Session almost everywhere, just keeping it in the sending part of the API (MailQueueItem, MailContentStore#load() and MailSender#sendAsynchronously()).

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: