_setIncludeInMailReport
Sets the "attach to email" field.
Parameters
id
The ID of the File being modified.
val
Integer value which decides if the "attach to email" field is enabled: 0 => disabled 1 => enabled
Example
FM_api('File_setIncludeInMailReport',[
'id'=>'427227',
'val'=>'1'
]
);
On Success
{"ok":1}
On Failure
If the "id" parameter is less than 1 or not given a value:
{"error":"missing or invalid parameter: id"}
Last updated