Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-1985

SMTP Handler sends only text/plain emails

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
    • Support Ticket IDs:
    • Sprint:
      DJ Sustaining Sprint 10, DJ Sustaining Sprint 12, DJ Sustaining Sprint 13, DJ Sustaining Sprint 14

      Description

      The "SMTP Handler" Account Status Notification Handler only sends text email. It is desired to change this to enable sending HTML email.

      Sending HTML Content-Type'd email with the base text templates looks fine, even though a configuration item seems cleaner - as long as HTML type can be sent this would complete the request.

      Attached is a changed SMTPAccountStatusNotificationHandler and EmailMessage as a proposed means of accomplishing this task, as an example of how it might be possible to get the handler to send HTML email – the diff between these java files and 2.6.2 source is very tiny.

        Attachments

        1. EMailMessage.java
          18 kB
        2. html-email.patch
          2 kB
        3. html-email-patch2
          7 kB
        4. html-email-patch-copyright
          8 kB
        5. SMTPAccountStatusNotificationHandler.java
          26 kB

          Activity

            People

            • Assignee:
              ludo Ludovic Poitou
              Reporter:
              matthew.miller@forgerock.com Matt Miller
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: