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

Identifies the target file and takes one of the following forms:

  • audit:///file
  • pubcert:///file
  • config:///file
  • store:///file
  • image:///file
  • tasktemplates:///file
  • logstore:///file
  • temporary:///file
  • logtemp:///file
SmtpServer
String
Identifies a local SMTP server by IP address or by host name.
EmailAddress
String
Specifies the full email address of the message recipient.

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"
  }
}