InternetMail.CreateMailbox

Syntax:

CreateMailbox(<Name>)

Parameters:

<Name> (required)

Type: String.
Name of mail box. Can contain a hierarchy. The character available using the DelimeterChar property is used as separator. In most cases it is the '/' character.

Description:

Creates an IMAP mail box by specified name. The box is created from root. Name can contain hierarchical path to the mail box. For example: inbox/maibox1/maibox2.
The delimeter character for mail boxes that is used by the current mail box, is available using the DelimeterChar property.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Note:

Intended for using only for connection set by the IMAP protocol.

Example:

Mail.CreateMailbox("inbox/maibox1/maibox2");

See also:

InternetMail, property DelimeterChar

    

1C:Enterprise Developer's Community