KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > mail > Service

javax.mail
Class Service

java.lang.Object
  extended byjavax.mail.Service
Direct Known Subclasses:
Store, Transport
See Also:
Source Code

public void addConnectionListener(ConnectionListener l)
See Also:
ConnectionEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void close()
           throws MessagingException
See Also:
ConnectionEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void connect()
             throws MessagingException
See Also:
ConnectionEvent, IllegalStateException, AuthenticationFailedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void connect(String host,
                    int port,
                    String user,
                    String password)
             throws MessagingException
See Also:
ConnectionEvent, connect(java.lang.String, java.lang.String, java.lang.String), IllegalStateException, AuthenticationFailedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void connect(String host,
                    String user,
                    String password)
             throws MessagingException
See Also:
Session.setPasswordAuthentication(javax.mail.URLName, javax.mail.PasswordAuthentication), ConnectionEvent, IllegalStateException, AuthenticationFailedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean debug
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void finalize()
                 throws Throwable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public URLName getURLName()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isConnected()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void notifyConnectionListeners(int type)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean protocolConnect(String host,
                                  int port,
                                  String user,
                                  String password)
                           throws MessagingException
See Also:
AuthenticationFailedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void queueEvent(MailEvent event,
                          Vector vector)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeConnectionListener(ConnectionListener l)
See Also:
addConnectionListener(javax.mail.event.ConnectionListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Service(Session session,
                  URLName urlname)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Session session
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setConnected(boolean connected)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void setURLName(URLName url)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected URLName url
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags