com.atlassian.crowd.util.mail
Class SMTPServer

java.lang.Object
  extended by com.atlassian.crowd.util.mail.SMTPServer

public class SMTPServer
extends Object

POJO holding SMTP server config.


Field Summary
static int DEFAULT_MAIL_PORT
           
 
Constructor Summary
SMTPServer()
           
SMTPServer(int port, String prefix, javax.mail.internet.InternetAddress from, String password, String username, String host, boolean useSSL)
           
SMTPServer(String jndiLocation, javax.mail.internet.InternetAddress from, String prefix)
           
 
Method Summary
 javax.mail.internet.InternetAddress getFrom()
           
 String getHost()
           
 String getJndiLocation()
           
 String getPassword()
           
 int getPort()
           
 String getPrefix()
           
 String getUsername()
           
 boolean getUseSSL()
           
 boolean isJndiMailActive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAIL_PORT

public static final int DEFAULT_MAIL_PORT
See Also:
Constant Field Values
Constructor Detail

SMTPServer

public SMTPServer(String jndiLocation,
                  javax.mail.internet.InternetAddress from,
                  String prefix)

SMTPServer

public SMTPServer(int port,
                  String prefix,
                  javax.mail.internet.InternetAddress from,
                  String password,
                  String username,
                  String host,
                  boolean useSSL)

SMTPServer

public SMTPServer()
Method Detail

getHost

public String getHost()

getUsername

public String getUsername()

getPassword

public String getPassword()

getUseSSL

public boolean getUseSSL()

getFrom

public javax.mail.internet.InternetAddress getFrom()

getPrefix

public String getPrefix()

getPort

public int getPort()

getJndiLocation

public String getJndiLocation()

isJndiMailActive

public boolean isJndiMailActive()


Copyright © 2013 Atlassian. All Rights Reserved.