SendFile
Trigger this action to send a file using SMTP-based file transmission.
Use the HTTP POST method with the resource
/mgmt/actionqueue/default, specifying
a request payload with the following
format:{
"SendFile": {
"LocationIdentifier": "subject",
"SmtpServer": "server",
"EmailAddress": "file",
}
}- LocationIdentifier
- String
- SmtpServer
- String
- EmailAddress
- String
Example
To send the file temporary:///stuff to the address billgamsworth@paddock.com, post the following payload to https://yourhost:5554/mgmt/actionqueue/default:
{
"SendFile": {
"LocationIdentifier": "temporary:///stuff",
"SmtpServer": "smtp.paddock.com",
"EmailAddress": "billgamsworth@paddock.com"
}
}