Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MIMEMessagePart

Hierarchy

  • MIMEMessagePart

Index

Properties

asBlob

Body as a BLOB.

asPicture

asPicture: Image

Body as an image.

asText

asText: String

Body as a Text string.

fileName

fileName: String

Name of the uploaded file.

mediaType

mediaType: String

Content-type of the part.

name

name: String

Input field name.

size

size: Number

Size of the body (in bytes).

Methods

save

  • save(filePath: String, overWrite?: Boolean): void
  • Saves the body of the part in the file whose path is passed in filePath.

    Parameters

    • filePath: String

      file path where to save MIMEMessagePart

    • Optional overWrite: Boolean

      if true, it will override the file if already exists. Else, the save will be omitted

    Returns void