klyn.mails.MimeBodyPart.text
method
public static text(content as String, charset as String = "UTF-8") as MimeBodyPart:
Description

Creates a plain text body part.

import klyn.mails

part = MimeBodyPart.text("Hello")
print(part.contentType)