klyn.mails.MimeMultipart.MimeMultipart
constructor

    public MimeMultipart(subType as String = "mixed", boundary as String = ""):

Description

Creates a multipart container.

Parameters

Parameter | Description
--- | ---
`subType` | Multipart subtype.
`boundary` | Explicit boundary. When empty, a secure random boundary is generated.

Example

    import klyn.mails

    multipart = MimeMultipart("mixed")
    print(multipart.boundary != "")