KimMailBuilder
Table of contents
Properties
Methods
- with
- withHtml
- withText
- toCc
- withDienstkennung
- withSendersystem
- withSupportMailAddress
- inReplyTo
- replyTo
- addHeader
- addAttachmentFromBase64
- addAttachmentFromArrayBuffer
- build
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
withHtml
▸ withHtml(subject
, htmlBody
, ...to
): KimMailBuilder
Parameters
Name | Type |
---|---|
subject | string |
htmlBody | string |
...to | MailAddressType [] |
Returns
withText
▸ withText(subject
, textBody
, ...to
): KimMailBuilder
Parameters
Name | Type |
---|---|
subject | string |
textBody | string |
...to | MailAddressType [] |
Returns
toCc
▸ toCc(...addresses
): KimMailBuilder
Parameters
Name | Type |
---|---|
...addresses | MailAddressType [] |
Returns
withDienstkennung
▸ withDienstkennung(value
): KimMailBuilder
Parameters
Name | Type |
---|---|
value | string |
Returns
withSendersystem
▸ withSendersystem(name
, version
): KimMailBuilder
Parameters
Name | Type |
---|---|
name | string |
version | string |
Returns
withSupportMailAddress
▸ withSupportMailAddress(mailAddress
, displayName?
): KimMailBuilder
Parameters
Name | Type |
---|---|
mailAddress | string |
displayName? | string |
Returns
inReplyTo
▸ inReplyTo(messageId
): KimMailBuilder
Parameters
Name | Type |
---|---|
messageId | string |
Returns
replyTo
▸ replyTo(mailAddress
, displayName?
): KimMailBuilder
Parameters
Name | Type |
---|---|
mailAddress | string |
displayName? | string |
Returns
addHeader
▸ addHeader(name
, value
): KimMailBuilder
Parameters
Name | Type |
---|---|
name | string |
value | string |
Returns
addAttachmentFromBase64
▸ addAttachmentFromBase64(filename
, contentType
, base64Content
): KimMailBuilder
Parameters
Name | Type |
---|---|
filename | string |
contentType | string |
base64Content | string |
Returns
addAttachmentFromArrayBuffer
▸ addAttachmentFromArrayBuffer(filename
, contentType
, arrayBuffer
): KimMailBuilder
Parameters
Name | Type |
---|---|
filename | string |
contentType | string |
arrayBuffer | ArrayBuffer |
Returns
build
▸ build(): Mail
Returns
Mail