# com.bea.control
EmailControl Interface

public interface EmailControl
extends `Control`

Email control base interface. The Email control sends e-mail to the specified list of recepients.

All Superinterfaces
  `Control`, `Control`, `Serializable`

## Nested Class Summary

Nested classes from interface com.bea.control`.`Control``
`Control.Callback`

## Field Summary

`public static final `String`` | `ATTR_ATTACHMENTS` String
`public static final `String`` | `ATTR_BCC` String
`public static final `String`` | `ATTR_BODY` String
`public static final `String`` | `ATTR_CC` String
`public static final `String`` | `ATTR_CONTENTTYPE` String
`public static final `String`` | `ATTR_FROM_ADDRESS` String
`public static final `String`` | `ATTR_FROM_NAME` String
`public static final `String`` | `ATTR_HEADER_ENCODING` String
`public static final `String`` | `ATTR_PASSWORD` String
`public static final `String`` | `ATTR_PASSWORD_ALIAS` String
`public static final `String`` | `ATTR_REPLY_TO_ADDRESS` String
`public static final `String`` | `ATTR_REPLY_TO_NAME` String
`public static final `String`` | `ATTR_SMTP_ADDRESS` String
`public static final `String`` | `ATTR_SUBJECT` String
`public static final `String`` | `ATTR_TO` String
`public static final `String`` | `ATTR_USERNAME` String
`public static final `String`` | `TAG_EMAIL` The email tag used to define email control attributes.
`public static final `String`` | `TAG_SEND` The @jbc:email tag is used to annotate a JBCX method that provides a convenient template for sending email.

## Method Summary

`public `EmailControlPropertiesDocument`` | `getProperties`() Get the properties set for this control.
`public void` | `setProperties`(`EmailControlPropertiesDocument` xmlProp) Sets the dynamic properties for the control.

## Field Detail

### ATTR_ATTACHMENTS

    public static final String ATTR_ATTACHMENTS

### ATTR_BCC

    public static final String ATTR_BCC

### ATTR_BODY

    public static final String ATTR_BODY

### ATTR_CC

    public static final String ATTR_CC

### ATTR_CONTENTTYPE

    public static final String ATTR_CONTENTTYPE

### ATTR_FROM_ADDRESS

    public static final String ATTR_FROM_ADDRESS

### ATTR_FROM_NAME

    public static final String ATTR_FROM_NAME

### ATTR_HEADER_ENCODING

    public static final String ATTR_HEADER_ENCODING

### ATTR_PASSWORD

    public static final String ATTR_PASSWORD

### ATTR_PASSWORD_ALIAS

    public static final String ATTR_PASSWORD_ALIAS

### ATTR_REPLY_TO_ADDRESS

    public static final String ATTR_REPLY_TO_ADDRESS

### ATTR_REPLY_TO_NAME

    public static final String ATTR_REPLY_TO_NAME

### ATTR_SMTP_ADDRESS

    public static final String ATTR_SMTP_ADDRESS

### ATTR_SUBJECT

    public static final String ATTR_SUBJECT

### ATTR_TO

    public static final String ATTR_TO

### ATTR_USERNAME

    public static final String ATTR_USERNAME

### TAG_EMAIL

    public static final String TAG_EMAIL

  The email tag used to define email control attributes.

### TAG_SEND

    public static final String TAG_SEND

  The @jbc:email tag is used to annotate a JBCX method that provides a convenient template for sending email.

## Method Detail

### getProperties() Method

    public EmailControlPropertiesDocument getProperties()

Get the properties set for this control.

#### Returns

the dynamic properties for the control. NULL if the control has not been initialized yet.

### setProperties(EmailControlPropertiesDocument) Method

    public void setProperties(EmailControlPropertiesDocument xmlProp)

Sets the dynamic properties for the control.

#### Parameters

xmlProp
  the dynamic properties for the control.