Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3169

Able to send HTML email

XMLWordPrintable

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      I'm using com.atlassian.stash.mail.MailMessage and com.atlassian.stash.mail.MailService to send an email, but I can't configure it to send out HTML.

      In MailServerImpl (line 324) message.setText(mailMessage.getText()); is being used, but that doesn't provide a possibility to flag for HTML content. Therefor you need to use helper.setText(..., true);

      And of course there is no possibility in the MailMessage to state the content should be HTML

              Unassigned Unassigned
              b85a0a10-6675-4247-bfff-069f65a51a5a Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: