Announcement

Collapse
No announcement yet.

HTML content in email sender

Collapse
X
 
  • 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!
    davide

    Comment


    • #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!!!!
      http://consultzen.com/careers/
      Talented healthcare IT professionals wanted. Engineers to sales to management.
      Good benefits, great working environment, genuinely interesting work.

      Comment


      • #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
        naiveness.

        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:

        Code:
        <html>
        <head></head>
        <body>
        A new dicom study was received by the Image Archive.
        <br>
        Please, click <a href="http://myhost:8080/dicomviewer/viewer?studyUID=${studyIUD}">here</a> to visualize the images.
        </body>
        </html>
        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,
        davide
        dicom_study_notification_2.xml (18668 bytes)

        Comment


        • #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

          sigpic

          Comment


          • #6
            Re:HTML content in email sender

            This feature has been added. See:

            http://www.mirthproject.org/communit...owse/MIRTH-945
            Gerald Bortis | Chief Information Officer | Mirth Corporation

            Comment


            • #7
              Re:HTML content in email sender

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

              Thanks alot!
              davide

              Comment


              • #8
                Re:HTML content in email sender

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

                sigpic

                Comment

                Working...
                X