Announcement

Collapse
No announcement yet.

Emailing RTFs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Emailing RTFs

    Hi all,

    I'm trying to use Mirth to scan a folder for RTF files and email any that it finds. I think it should be pretty simple to set up, but I can't get it working.

    I have the source connector type set to File Reader and it scans the source directory.

    Destination connector type is email sender. I've configured an attachment like this:
    Name: ${ORIGINALNAME}
    Content: ${message.rawData}
    MIME type: application/rtf

    The email gets sent and the filename is correct, but the content is junk.

    I'm guessing it's an easy fix, but I can't figure it out. Thanks in advance for any help.
    -Dean

  • #2
    You need to include base64 encoded content as the attachment content.
    Jacob Brauer
    Director, Software Development
    NextGen Healthcare

    sigpic

    Comment


    • #3
      Does the encoding need to happen in a transformer or can it just be specified in the email attachment content definition?

      Comment


      • #4
        I've only done it as a part of the transformer, then stored it as a variable that I included as the attachment content.
        Jacob Brauer
        Director, Software Development
        NextGen Healthcare

        sigpic

        Comment

        Working...
        X