Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

HTML content in email sender

  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML content in email sender

    Hi all,

    we need to generate HTML content for an email sender channel. We are embedding HTML tags in message body without succes. Somebody have any clue about this?.

    Thanks in advance for your help,

    Ricard Bernat

  • #2
    Re:HTML content in email sender

    Hi all,
    I would like to do the same....please help!


    • #3
      Re:HTML content in email sender

      Can either of you post a sample channel that isn't working? Lets start from there and see whats going on.
      Jon Bartels

      Zen is hiring!!!!
      Talented healthcare IT professionals wanted. Engineers to sales to management.
      Good benefits, great working environment, genuinely interesting work.


      • #4
        Re:HTML content in email sender

        Thanks for prompt reply!

        First of all, I am a novice Mirth user. So, please excuse me for

        I was preparing a channel that sends e-mail notifications of new
        DICOM studies stored in an Image Archive. The notification e-mail
        contains a link for direct visualization of the images in the
        notified study, through a web-based dicom viewer.

        I am using DCM4CHEE as Image Archive & Manager and Oviyam as
        web-based DICOM viewer.

        At the moment the source of the channel (which is attached to this
        post) is a DB reader. The reader checks for a new study in the DB
        underlying DCM4CHEE and, if available, it extracts study details (by
        the way it might be conceivable to use the HL7 ORM messages
        generated by DCM4CHEE in the future).

        Then, destination 1 is dedicated to dispatch the e-mail as text (no
        html). It contains the URL for accessing the images through the
        web-based dicom viewer (in the form
        http://myhost:8080/dicomviewer/viewer?studyUID=${studyIUD}) as long
        with study details (Patient ID, Patient Name, Birthdate, Study
        Modality, Study Date, Study Description,...).

        It seems that destination 1 is working properly.

        Nevertheless, I would like to use HTML tags for:
        1) provide the URL using "href"; this is because the studyIUD is
        quite long, resulting in an URL not pleasant to see.
        2) Format the details of the study in a table (again for pleasantness/clarity reasons)

        So, I prepared a basic e-mail template, which is the content of
        destination 4 in the attached channel:

        A new dicom study was received by the Image Archive.
        Please, click <a href="http://myhost:8080/dicomviewer/viewer?studyUID=${studyIUD}">here</a> to visualize the images.
        This e-mail is sent without errors, but alas with "Content-type:
        text/plain; charset=us-ascii". That means that html tags are printed
        "verbatim" and not interpreted as they should.

        How can I change that "Content-type"?

        I hope my description is clear. In any case, do not hesitate to
        contact me for further infos.

        Thank in advance for your time.

        Best regards,
        dicom_study_notification_2.xml (18668 bytes)


        • #5
          Re:HTML content in email sender

          An HTML Content option will be added for 1.8 RC2.
          Jacob Brauer
          Director, Software Development
          NextGen Healthcare



          • #6
            Re:HTML content in email sender

            This feature has been added. See:

            Gerald Bortis | Chief Information Officer | Mirth Corporation


            • #7
              Re:HTML content in email sender

              Good job!
              I had a try and everything worked smoothly.

              Thanks alot!


              • #8
                Re:HTML content in email sender

                Great to hear!
                Jacob Brauer
                Director, Software Development
                NextGen Healthcare