Create A New WLDFSMTP Notification
/management/weblogic/{version}/edit/resourceGroups/{name}/WLDFSystemResources/{name}/WLDFResource/watchNotification/SMTPNotifications
Add a new WLDFSMTP notification to this collection.
Request
- application/json
-
name: string
The name property of the instance in the collection.
-
version: string
The version of the WebLogic REST interface.
-
X-Requested-By: string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain a populated WLDFSMTP notification model.
object
-
body(optional):
string
The body for the mail message. If the body is not specified, a body is created from the action information.
-
enabled(optional):
boolean
Default Value:
true
Specifies whether this action is enabled.
-
id(optional):
integer(int64)
Read Only:
true
Return the unique id of this bean instance.
-
mailSessionJNDIName(optional):
string
The JNDI name of the mail session. This name must match the attribute in the corresponding MailSessionMBean.
Constraints
- legal null
-
name(optional):
string
Read Only:
true
The name of the WebLogic Diagnostic Framework (WLDF) bean.
-
recipients(optional):
array Items
Title:
Items
The address of the recipient or recipients of the SMTP action mail. The address uses the syntax defined in RFC822. Typical address syntax is of the form
userhostdomain
orPersonal Name
. An address can include multiple recipients, separated by commas or spaces.For more information, refer to the javax.mail.internet.InternetAddress.parse method.
-
subject(optional):
string
The subject for the mail message. If the subject is not specified, a subject is created from the action information.
-
timeout(optional):
integer(int32)
Minimum Value:
0
Default Value:0
The length of time, in seconds, that an action has to complete execution. By default, the timeout period is 0, which disables the action timeout.
array
Items
The address of the recipient or recipients of the SMTP action mail. The address uses the syntax defined in RFC822. Typical address syntax is of the form userhostdomain
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.
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.
-
Deployer: basic
Type:
basic
Description:A user in the Deployer security role.