Sign In

$attachment[]

Adds an attachment to the response

v1.0.0+ Requires Brackets

Usage

$attachment[;;;;;]
Also callable as
$addAttachment

Arguments

NameTypeRequiredDescription
path
StringYesThe attachment url or path to file
name
StringYesThe name for this attachment, with the extension
as text
BooleanNoWhether to use url param as text
encoding
StringNoEncoding to use for text, utf-8 default
description
StringNoThe description for this attachment
title
StringNoThe title for this attachment

Was this page helpful?