Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-2707

Support STARTTLS when sending email notifications

    Details

      Description

      TriggerActionMail only supports SSL connections where the mail server automatically starts SSL immediately when a connection is established. It would be good to also support starting encryption using the STARTTLS command.

      This can be done by setting the property "mail.smtp.starttls.enable" to "true" when creating the mail session object.

      The usual ports for email are:

      • 25 - Clear text or optional STARTTLS
      • 465 - SSL
      • 587 - Clear text or optional STARTTLS

      At the same time it would be good to check whether we support encryption without authentication (if we don't, then we should fix that).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              owestin Ola Westin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: