| org.apache.synapse.transport.base.AbstractTransportSender org.apache.synapse.transport.mail.MailTransportSender
MailTransportSender | public class MailTransportSender extends AbstractTransportSender (Code) | | The mail transport sender sends mail using an SMTP server configuration defined
in the axis2.xml's transport sender definition
|
Method Summary | |
public void | init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) | public void | sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo) |
MailTransportSender | public MailTransportSender()(Code) | | The public constructor
|
init | public void init(ConfigurationContext cfgCtx, TransportOutDescription transportOut) throws AxisFault(Code) | | Initialize the Mail sender and be ready to send messages
Parameters: cfgCtx - the axis2 configuration context Parameters: transportOut - the transport-out description throws: org.apache.axis2.AxisFault - on error |
sendMessage | public void sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo) throws AxisFault(Code) | | Send the given message over the Mail transport
Parameters: msgCtx - the axis2 message context throws: AxisFault - on error |
|
|