public class EmailAccount extends Object
Constructor and Description |
---|
EmailAccount(String host,
Integer port,
String user,
String password,
String sender,
boolean ssl)
Create a new account.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Get host.
|
String |
getPassword()
Get the password.
|
Integer |
getPort()
Get the port.
|
String |
getSender()
Get the sender.
|
String |
getUser()
Get the user.
|
boolean |
isSsl()
Is ssl connection?
|
void |
setHost(String host)
Set the host.
|
void |
setPassword(String password)
Set the password.
|
void |
setPort(Integer port)
Set the port.
|
void |
setSender(String sender)
Set the sender.
|
void |
setSsl(boolean ssl)
Set the ssl connection property.
|
void |
setUser(String user)
Set the user.
|
public String getHost()
public void setHost(String host)
host
- The host.public Integer getPort()
public void setPort(Integer port)
port
- The port.public String getUser()
public void setUser(String user)
user
- The user.public String getPassword()
public void setPassword(String password)
password
- The password.public String getSender()
public void setSender(String sender)
sender
- The sender.public boolean isSsl()
public void setSsl(boolean ssl)
ssl
- Flag indicating ssl.Copyright © 2013. All Rights Reserved.