|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.Service
javax.mail.Transport
de.saly.javamail.mock2.MockTransport
public class MockTransport
Field Summary | |
---|---|
protected org.slf4j.Logger |
logger
|
Fields inherited from class javax.mail.Service |
---|
debug, session, url |
Constructor Summary | |
---|---|
MockTransport(javax.mail.Session session,
javax.mail.URLName urlname)
|
Method Summary | |
---|---|
void |
connect(String host,
int port,
String user,
String password)
|
void |
sendMessage(javax.mail.Message msg,
javax.mail.Address[] addresses)
|
Methods inherited from class javax.mail.Transport |
---|
addTransportListener, notifyTransportListeners, removeTransportListener, send, send, send, send |
Methods inherited from class javax.mail.Service |
---|
addConnectionListener, close, connect, connect, connect, finalize, getURLName, isConnected, notifyConnectionListeners, protocolConnect, queueEvent, removeConnectionListener, setConnected, setURLName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final org.slf4j.Logger logger
Constructor Detail |
---|
public MockTransport(javax.mail.Session session, javax.mail.URLName urlname)
Method Detail |
---|
public void connect(String host, int port, String user, String password) throws javax.mail.MessagingException
connect
in class javax.mail.Service
javax.mail.MessagingException
public void sendMessage(javax.mail.Message msg, javax.mail.Address[] addresses) throws javax.mail.MessagingException
sendMessage
in class javax.mail.Transport
javax.mail.MessagingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |