public interface BBjAdminEmailMessage extends BBjAdminPropertyWriter
A single email message to send through a BBjAdminEmailService. The BBjAdminEmailMessage contains information such as the recipients, reply-to, from, the message contents, and any file attachments.
Find a complete code sample at: BBjAdminEmailService
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BCC |
static java.lang.String |
CC |
static java.lang.String |
FROM |
static java.lang.String |
HTML |
static java.lang.String |
REPLY_TO |
static java.lang.String |
SUBJECT |
static java.lang.String |
TEXT |
static java.lang.String |
TO |
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(BBjAdminEmailAttachment p_attachment)
Add an email attachment to the message.
|
BBjAdminList<BBjAdminEmailAttachment> |
getAttachments()
Get current list of email attachments.
|
addType, canAddNewProperties, canClear, clear, clearProperties, clearProperty, getReadOnly, hasChanged, isReadOnly, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValue
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValue
static final java.lang.String HTML
static final java.lang.String TEXT
static final java.lang.String SUBJECT
static final java.lang.String TO
static final java.lang.String CC
static final java.lang.String BCC
static final java.lang.String FROM
static final java.lang.String REPLY_TO
void addAttachment(BBjAdminEmailAttachment p_attachment) throws BBjAdminException
p_attachment
- Attachment to be sent with the email message.BBjAdminException
BBjAdminList<BBjAdminEmailAttachment> getAttachments() throws BBjAdminException
BBjAdminException