Skip to content

set_content_transfer_encoding

headers:set_content_transfer_encoding(VALUE)
Since: Dev Builds Only

The functionality described in this section requires a dev build of KumoMTA. You can obtain a dev build by following the instructions in the Installation section.

Assign the VALUE to the Content-Transfer-Encoding 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.

Danger

Changing the Content-Transfer-Encoding header may result in an inconsistent representation of the message and should be avoided. We recommend limiting changes to just the parameter portion of the header rather than the overall encoding.