KimMailBuilder

Table of contents

Properties

Methods

Properties

to

to: MailAddressType[]


subject

subject: string


htmlBody

Optional htmlBody: string


textBody

Optional textBody: string

Methods

with

with(subject, htmlBody, textBody, ...to): KimMailBuilder

Parameters

Name Type
subject string
htmlBody string
textBody string
...to MailAddressType[]

Returns

KimMailBuilder


withHtml

withHtml(subject, htmlBody, ...to): KimMailBuilder

Parameters

Name Type
subject string
htmlBody string
...to MailAddressType[]

Returns

KimMailBuilder


withText

withText(subject, textBody, ...to): KimMailBuilder

Parameters

Name Type
subject string
textBody string
...to MailAddressType[]

Returns

KimMailBuilder


toCc

toCc(...addresses): KimMailBuilder

Parameters

Name Type
...addresses MailAddressType[]

Returns

KimMailBuilder


withDienstkennung

withDienstkennung(value): KimMailBuilder

Parameters

Name Type
value string

Returns

KimMailBuilder


withSendersystem

withSendersystem(name, version): KimMailBuilder

Parameters

Name Type
name string
version string

Returns

KimMailBuilder


withSupportMailAddress

withSupportMailAddress(mailAddress, displayName?): KimMailBuilder

Parameters

Name Type
mailAddress string
displayName? string

Returns

KimMailBuilder


inReplyTo

inReplyTo(messageId): KimMailBuilder

Parameters

Name Type
messageId string

Returns

KimMailBuilder


replyTo

replyTo(mailAddress, displayName?): KimMailBuilder

Parameters

Name Type
mailAddress string
displayName? string

Returns

KimMailBuilder


addHeader

addHeader(name, value): KimMailBuilder

Parameters

Name Type
name string
value string

Returns

KimMailBuilder


addAttachmentFromBase64

addAttachmentFromBase64(filename, contentType, base64Content): KimMailBuilder

Parameters

Name Type
filename string
contentType string
base64Content string

Returns

KimMailBuilder


addAttachmentFromArrayBuffer

addAttachmentFromArrayBuffer(filename, contentType, arrayBuffer): KimMailBuilder

Parameters

Name Type
filename string
contentType string
arrayBuffer ArrayBuffer

Returns

KimMailBuilder


build

build(): Mail

Returns

Mail