Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <proxy xmlns="http://ws.apache.org/ns/synapse"
- name="MailProxy"
- transports="https http"
- statistics="disable"
- trace="disable"
- startOnLoad="true">
- <target>
- <inSequence>
- <payloadFactory>
- <format>
- <!--<ns:sendMailResponse xmlns:ns="http://services.samples">$1</ns:sendMailResponse>>-->
- <ns:sendMailResponse xmlns:ns="http://services.samples">$1</ns:sendMailResponse>
- </format>
- <args>
- <arg value="Message Sent from the WSO2 ESB"/>
- </args>
- </payloadFactory>
- <property name="transport.mail.Format" value="Attachment" scope="axis2"/>
- <property name="AttachmentFile" value="attachment.csv" scope="axis2"/>
- <property name="Subject" value="File Received" scope="transport"/>
- <property name="OUT_ONLY" value="true" scope="default" type="STRING"/>
- <log level="full"/>
- <send>
- <endpoint>
- <address uri="mailto:mymail@gmail.com"/>
- </endpoint>
- </send>
- </inSequence>
- </target>
- <description></description>
- </proxy>
Add Comment
Please, Sign In to add comment