org.apache.geronimo.mail
Class NullTransport

java.lang.Object
  extended by javax.mail.Service
      extended by javax.mail.Transport
          extended by org.apache.geronimo.mail.NullTransport

public class NullTransport
extends Transport


Field Summary
 
Fields inherited from class javax.mail.Service
debug, session, url
 
Constructor Summary
NullTransport(Session session, URLName urlName)
           
 
Method Summary
protected  boolean protocolConnect(String host, int port, String user, String password)
           
 void sendMessage(Message message, Address[] addresses)
           
 
Methods inherited from class javax.mail.Transport
addTransportListener, notifyTransportListeners, removeTransportListener, send, send
 
Methods inherited from class javax.mail.Service
addConnectionListener, close, connect, connect, connect, connect, finalize, getURLName, isConnected, notifyConnectionListeners, queueEvent, removeConnectionListener, setConnected, setURLName, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NullTransport

public NullTransport(Session session,
                     URLName urlName)
Method Detail

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.