Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <expression-transformer doc:name="Read Attachments and set them as payload"
- name="returnAttachments">
- <return-argument evaluator="attachments-list"
- expression="*" />
- </expression-transformer>
- <imaps:inbound-endpoint host="${email.server.host}"
- port="${email.port}" responseTimeout="10000"
- doc:name="IMAP" connector-ref="IMAPS" password="${email.pwd}"
- transformer-refs="returnAttachments" user="${email.user}"
- disableTransportTransformer="true" />
- <!-- The code below does not work when the emails arrived have content type other the "multipart/mixed"-->
- <set-variable variableName="fileName" value="#[groovy:payload.name]"
- doc:name="fileName" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement