public static attachmentBase64(fileName as String, base64Content as String, contentType as String) as MimeBodyPart:
Creates a Base64 attachment with an explicit content type.