getDebug
public boolean getDebug()
getDefaultInstance
public Session getDefaultInstance(Properties props)
getDefaultInstance
public Session getDefaultInstance(Properties props,
Authenticator authenticator)
getFolder
public Folder getFolder(URLName url)
throws MessagingException
getInstance
public Session getInstance(Properties props)
getInstance
public Session getInstance(Properties props,
Authenticator authenticator)
getPasswordAuthentication
public PasswordAuthentication getPasswordAuthentication(URLName url)
getProperties
public Properties getProperties()
getProperty
public String getProperty(String name)
getProvider
public Provider getProvider(String protocol)
throws NoSuchProviderException
getProviders
public Provider[] getProviders()
getStore
public Store getStore()
throws NoSuchProviderException
getStore
public Store getStore(Provider provider)
throws NoSuchProviderException
getStore
public Store getStore(String protocol)
throws NoSuchProviderException
getStore
public Store getStore(URLName url)
throws NoSuchProviderException
getTransport
public Transport getTransport()
throws NoSuchProviderException
getTransport
public Transport getTransport(Address address)
throws NoSuchProviderException
getTransport
public Transport getTransport(Provider provider)
throws NoSuchProviderException
getTransport
public Transport getTransport(String protocol)
throws NoSuchProviderException
getTransport
public Transport getTransport(URLName url)
throws NoSuchProviderException
getWrappedSession
public javax.mail.Session getWrappedSession()
requestPasswordAuthentication
public PasswordAuthentication requestPasswordAuthentication(java.net.InetAddress addr,
int port,
String protocol,
String prompt,
String defaultUserName)
setDebug
public void setDebug(boolean debug)
setPasswordAuthentication
public void setPasswordAuthentication(URLName url,
PasswordAuthentication pw)
setProvider
public void setProvider(Provider provider)
throws NoSuchProviderException