public class MockTransport extends Transport
Constructor and Description |
---|
MockTransport(Session session,
URLName urlname) |
Modifier and Type | Method and Description |
---|---|
void |
sendMessage(Message arg0,
Address[] arg1) |
addTransportListener, notifyTransportListeners, removeTransportListener, send, send
addConnectionListener, close, connect, connect, connect, connect, finalize, getURLName, isConnected, notifyConnectionListeners, protocolConnect, queueEvent, removeConnectionListener, setConnected, setURLName, toString
public void sendMessage(Message arg0, Address[] arg1) throws MessagingException
sendMessage
in class Transport
MessagingException
Transport.sendMessage(javax.mail.Message, javax.mail.Address[])
Copyright © 1995-2015 Webtide. All Rights Reserved.