web stats
Emailing RTFs - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 12-30-2010, 10:48 AM
ganskop ganskop is offline
What's HL7?
 
Join Date: Dec 2010
Posts: 2
ganskop is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 01-03-2011, 10:45 AM
jacobb jacobb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 1,218
jacobb is an unknown quantity at this point
Default

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

Reply With Quote
  #3  
Old 01-04-2011, 07:46 AM
ganskop ganskop is offline
What's HL7?
 
Join Date: Dec 2010
Posts: 2
ganskop is on a distinguished road
Default

Does the encoding need to happen in a transformer or can it just be specified in the email attachment content definition?
Reply With Quote
  #4  
Old 01-04-2011, 09:54 AM
jacobb jacobb is offline
Mirth Employee
 
Join Date: Aug 2006
Location: Irvine, CA
Posts: 1,218
jacobb is an unknown quantity at this point
Default

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

Reply With Quote
Reply

Tags
rtf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation