org.apache.geronimo.mail
Class NullTransport
java.lang.Object
javax.mail.Service
javax.mail.Transport
org.apache.geronimo.mail.NullTransport
public class NullTransport
- extends Transport
Methods inherited from class javax.mail.Service |
addConnectionListener, close, connect, connect, connect, connect, finalize, getURLName, isConnected, notifyConnectionListeners, queueEvent, removeConnectionListener, setConnected, setURLName, toString |
NullTransport
public NullTransport(Session session,
URLName urlName)
sendMessage
public void sendMessage(Message message,
Address[] addresses)
throws MessagingException
- Specified by:
sendMessage
in class Transport
- Throws:
MessagingException
protocolConnect
protected boolean protocolConnect(String host,
int port,
String user,
String password)
throws MessagingException
- Overrides:
protocolConnect
in class Service
- Throws:
MessagingException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.