web stats
Mirth Community - View Single Post - Mirth Email Reader
View Single Post
  #2  
Old 08-27-2014, 06:56 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,116
narupley is on a distinguished road
Default

By default the Email Reader includes all message data:



That data will be serialized XML. In a transformer, you grab the attachment node (hopefully in Base64 format), and put it in a channel map variable. Then in the File Writer, drag that variable into your template, and make sure to use Binary mode.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote