email/send_test
1 minute read.
Last Modified 2021-02-04 11:38 ESTNamespace | Name | Admin Only | Log Summary | Generates Event | Version Added |
---|---|---|---|---|---|
send_test | Yes | No | No | 1 (Removed in 1.2) |
This API namespace was depricated in version 1.1, and removed in version 1.2. Please look at the alertplugins/* API namespace for the repacement for this functionality.
Send a test email to a designated address. This can be used for verifying that the system email configuration is setup properly and functional.
- Required:
- “to” (String) or (JsonArray) : Email address(es) to send the test email to.
{
"namespace" : "email",
"name" : "send_test",
"id" : "some_id",
"args" : {
"to" : "address_1@domain.com"
}
}
{
"namespace" : "email",
"name" : "send_test",
"id" : "some_id",
"args" : {
"to" : ["address_1@domain.com" , "address_2@domain.com"]
}
}
{
"namespace" : "email",
"name" : "response",
"id" : "some_id",
"args" : {
"result" : "success"
}
}