Use this interface to define a SMTP notification, which is sent
when a diagnostic watch evaluates to true.
| Since | 9.0.0.0 |
| Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
|
| Fully Qualified Interface Name | If you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:weblogic.diagnostics.descriptor.WLDFSMTPNotificationBean
|
| Factory Methods | No factory methods. Instances of this MBean are created automatically. |
This section describes the following attributes:
The body for the mail message. If the body is not specified, a body is created from the watch notification information.
| Privileges | Read/Write |
| Type | java.lang.String |
Specifies whether this notification is enabled.
| Privileges | Read/Write |
| Type | boolean |
| Default Value | true |
The JNDI name of the mail session. This name must match the attribute in the corresponding MailSessionMBean.
| Privileges | Read/Write |
| Type | java.lang.String |
The name of the WebLogic Diagnostic Framework (WLDF) bean.
| Privileges | Read only |
| Type | java.lang.String |
| Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The address of the recipient or recipients of the SMTP
notification mail. The address uses the syntax defined in RFC822.
Typical address syntax is of the form
user@host.domain or Personal
Name. An address can include multiple recipients, separated by
commas or spaces.
For more information, refer to the javax.mail.internet.InternetAddress.parse method.
| Privileges | Read/Write |
| Type | class java.lang.String[] |
The subject for the mail message. If the subject is not specified, a subject is created from the watch notification information.
| Privileges | Read/Write |
| Type | java.lang.String |
This section describes the following operations:
|
|
Adds a recipient to the list of e-mail addresses that will receive this notification.
| Operation Name | "addRecipient" |
| Parameters | Object [] { recipient }
where:
|
| Signature | String [] {
"java.lang.String" } |
| Returns |
void
|
Removes a recipient from the list of e-mail addresses that will receive this notification.
| Operation Name | "removeRecipient" |
| Parameters | Object [] { recipient }
where:
|
| Signature | String [] {
"java.lang.String" } |
| Returns |
void
|