Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with Power Scripts 4.0.9 (server).

Syntax

saveAttachmentFromEmail(attachmentName, filePath)

...

Excerpt

Saves the attachment file from the incoming email to a specific file path.

Parameters

ParameterTypeRequiredDescription
attachmentNamestringYes

The name of the attachment from the incoming email.

Note

Note that if there are multiple attachments with the same name, this will always attach the first one in the list.

filePath

string

YesFile path where the attachment file is saved

Return type

boolean

'True' if the attachment file was successfully saved to the specified file path, 'false' otherwise.

...

Filter by label (Content by label)
showLabelsfalse
max4
showSpacefalse
cqllabel = "mail_handler_routines"
labelsjira_comment_routine