Skip to content

set_content_disposition

headers:set_content_disposition(VALUE)
Since: Version 2025.10.06-5ec871ab

The functionality described in this section requires version 2025.10.06-5ec871ab of KumoMTA, or a more recent version.

Assign the VALUE to the Content-Disposition header.

VALUE may be either a string or be an MimeParams.

If you assign using a string, the string will be parsed and validated as being compatible with MimeParams before allowing the assigment to proceed.