public static attachmentText(fileName as String, content as String, contentType as String) as MimeBodyPart
Creates a text attachment with an explicit content type.