| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
MIME
MIME.Message

# Method MIME.Message()->setencoding()

Method setencoding

  `void setencoding(string encoding)`

Description

  Select a new transfer encoding for this message.

  The `Content-Transfer-Encoding` header will be modified accordingly, and subsequent calls to getencoded will produce data encoded using the new encoding.

  See MIME.encode() for a list of valid encodings.

See also

  getencoded() , MIME.encode()