klyn.mails.MimeBodyPart.attachmentText
method
public static attachmentText(fileName as String, content as String, contentType as String) as MimeBodyPart:
Description

Creates a text attachment with an explicit content type.