public class DomainPostmaster extends Object
| Constructor and Description |
|---|
DomainPostmaster()
Constructs an empty postmaster.
|
DomainPostmaster(String domain,
javax.mail.internet.InternetAddress postmaster)
Constructs a postmaster for a domain with a postmaster address.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getDefaultPostmaster(String domain)
Gets the default postmaster address for a given domain.
|
String |
getDomain()
Gets the postmaster domain.
|
javax.mail.internet.InternetAddress |
getPostmaster()
Get's the postmaster's email address.
|
void |
setDomain(String domain)
Sets the postmaster's domain.
|
void |
setPostmasters(javax.mail.internet.InternetAddress postmaster)
Sets the postmaster's email address.
|
public DomainPostmaster()
public DomainPostmaster(String domain, javax.mail.internet.InternetAddress postmaster)
domain - The mail domain of the postmaster.postmaster - The postmaster's email address.public String getDomain()
public void setDomain(String domain)
domain - The postmaster's domain.public javax.mail.internet.InternetAddress getPostmaster()
public void setPostmasters(javax.mail.internet.InternetAddress postmaster)
postmaster - The postmaster's email address.Copyright © 2010–2021 NHIN Direct. All rights reserved.