public MimeBodyPart(content as String = "", contentType as String = "text/plain; charset=UTF-8", transferEncoding as String = "base64"):
Creates a MIME body part.
| Parameter | Description |
|---|---|
content | Part content. |
contentType | MIME content type. |
transferEncoding | MIME transfer encoding. |
import klyn.mails
part = MimeBodyPart("Hello", "text/plain; charset=UTF-8")
print(part.transferEncoding)