public class Recipient
extends java.lang.Object
SmtpService
Modifier and Type | Field and Description |
---|---|
static int |
RT_BCC
Recipient type "BCC:"
|
static int |
RT_CC
Recipient type "CC:"
|
static int |
RT_TO
Recipient type "TO:"
|
Constructor and Description |
---|
Recipient(java.lang.String address)
Create a new Recipient.
|
Recipient(java.lang.String address,
int type)
Create a new Recipient.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Get the recipients address.
|
int |
getType()
Get the recipient type.
|
public static final int RT_TO
public static final int RT_CC
public static final int RT_BCC
public Recipient(java.lang.String address, int type)
address
- the recipient's addresstype
- recipient type (one of the RT_ constants).public Recipient(java.lang.String address)
address
- the recipient's addressobject XP, Inc. © 2000-2013. All rights reserved object XP