klyn.mails.MimeBodyPart.MimeBodyPart
constructor

    public MimeBodyPart(content as String = "",
    contentType as String = "text/plain; charset=UTF-8",
    transferEncoding as String = "base64"):

Description

Creates a MIME body part.

Parameters

- content Part content.
- contentType MIME content type.
- transferEncoding MIME transfer encoding. ```klyn import klyn.mails part = MimeBodyPart("Hello", "text/plain; charset=UTF-8") print(part.transferEncoding) ```