I am trying to use Mule 3.3.0 and configure an SMTP Endpoint. The flow can have a File Inbound Endpoint and a SMTP outbound endpoint. Another flow can have a Java class that ge
It can be done in two ways.
One with Mule configuration
Second with Mule API.
org.mule.api.MuleMessage.addOutboundAttachment(String arg0, Object arg1, String arg2)
or
org.mule.api.MuleMessage.addOutboundAttachment(String arg0, DataHandler arg1)
Hope this helps.