public class Notification extends Object
| Constructor and Description |
|---|
Notification() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMailFrom()
Gets the mail from.
|
String |
getRecipients()
Gets the recipients.
|
List<javax.mail.Address> |
getRecipientsAddresses()
Gets the recipients addresses already parsed.
|
String |
getSmtpPort()
Gets the smtp port.
|
String |
getSmtpServer()
Gets the configured smtp server.
|
String |
getSubject()
Gets the subject.
|
void |
setMailFrom(String mailFrom)
Sets the mail from.
|
void |
setRecipients(String recipients)
Sets the recipients.
|
void |
setSmtpPort(String smtpPort)
Sets the smtp port.
|
void |
setSmtpServer(String smtpServer)
Sets the configured smtp server.
|
void |
setSubject(String subject)
Sets the subject.
|
public String getSmtpServer()
public void setSmtpServer(String smtpServer)
smtpServer - the smtp serverpublic String getSmtpPort()
public void setSmtpPort(String smtpPort)
smtpPort - the portpublic String getSubject()
public void setSubject(String subject)
subject - the new subjectpublic String getRecipients()
public List<javax.mail.Address> getRecipientsAddresses() throws javax.mail.internet.AddressException
javax.mail.internet.AddressException - the address exceptionpublic void setRecipients(String recipients)
recipients - the new recipientspublic String getMailFrom()
public void setMailFrom(String mailFrom)
mailFrom - the new mail fromCopyright © 2013-2015. All Rights Reserved.