Class: KimMail

Represents a Kim mail with content and attachment information

Table of contents

Accessors

Name Type Description
isHtmlBody boolean Determines wether the body is of type html or plain-text
body string The content of the mail (html or plain-text)
bodyHtml undefined | string The html content of the mail, if present
bodyText undefined | string The plain-text content of the mail, if present
processingInfos KimMessageLog[] An array of log messages from the decryption and verification process of type ‘info’
processingWarnings KimMessageLog[] An array of log messages from the decryption and verification process of type ‘warn’
processingErrors KimMessageLog[] An array of log messages from the decryption and verification process of type ‘error’
attachmentInfos KimMailAttachmentInfo[] An array of attachment information without the actual binary data
rawMail KimStoredMail The raw mail information in the storage after processing
pop3ServerUid string The messageId of the mail
storageId string The id of the mail in the storage
messageId string The messageId of the mail
sentDate Date The date when the message was sent
receivedDate Date The date when the message was received
hasAttachments boolean Determines wether the mail has attachments
hasMailBeenEncrypted boolean Determines wether the mail was decrypted from an encrypted KIM mail
hasSignatureBeenValid boolean Determines wether the signature of mail was valid
hasErrors boolean Determines wether there were processing errors
kimVersion string The KIM Version specified in the mail header X-KOM-LE-Version
kimDienstkennung string The KIM Dienstkennung specified in the mail header X-KIM-Dienstkennung
from MailAddressType The sender of the mail
subject string The subject of the mail
recipientsTo MailAddressType[] The recipients to-addresses to whom the mail was sent
recipientsCc MailAddressType[] The recipients cc-addresses to whom the mail was sent