OptionalhtmlOptionaltextStaticwithCreates a new builder with html and plain-text mail content.
StaticwithCreates a new builder with only html mail content.
StaticwithCreates a new builder with only plain-text mail content.
StaticwithoutCreates a new builder without text or html mail content. This is a rare case and should only be necessary for technical processes.
Allows setting the sender display-name of a mail. The send-mail it self will be set by the client while sending the mail.
OptionaldisplayName: stringSets the CarbonCopy receivers of this mail.
this
Allows to set the "X-KIM-Sendersystem" mail header.
Allows to set the "X-KIM-Support" mail header.
OptionaldisplayName: stringsets the "In-Reply-To" mail header, defining the Message Id to which this mail is a reply.
this
sets the "Reply-To" mail header, defining where a reply should be send to.
OptionaldisplayName: stringthis
Add an additional Mail header to the Kim Message.
Header name
Header value
self
Adds an attachment to the mail being constructed.
The Filename of the attachment
the mime type of the content being send.
the actual content as binary ArrayBuffer or a base64 encoded string.
Allows to attach additional Headers to the MimePart of the attachment.
this
Adds an attachment to the mail being constructed.
The Filename of the attachment
the mime type of the content being send.
the actual content as a base64 encoded string.
Allows to attach additional Headers to the MimePart of the attachment.
this
Adds an attachment to the mail being constructed.
The Filename of the attachment
the mime type of the content being send.
the actual content as binary ArrayBuffer.
Allows to attach additional Headers to the MimePart of the attachment.
this
Adds a text part to the mail being constructed. the content type of the part is "text/plain;charset=UTF-8"
the text of the mime part.
Allows to attach additional Headers to the MimePart of the attachment.
this
Adds a mime part to the mail being constructed.
the mime type of the part.
the actual content as a base64 encoded string.
Allows to attach additional Headers to the MimePart of the attachment.
this
Adds a mime part to the mail being constructed.
the mime type of the part.
the actual content as binary ArrayBuffer.
Allows to attach additional Headers to the MimePart of the attachment.
this
Constructs the actual mime mail.
mail in Mime format.
Builder Class that simplifies the building of kim mails.