ImailPostMessage command

Used in a Server.Load script to add a message to the specified mailbox.

Syntax

ImailPostMessage [bodysize] [linesize] [mailbox]

Where:

  • [bodysize] -- Total size of the message
  • [linesize] -- Length of each line in the message, typically 80
  • [mailbox] -- Name of the folder in which to locate the message, typically Inbox

Example

This example creates a 2000-byte message in the Inbox. Each line in the message contains 80 characters.

ImailPostMessage 2000 80 Inbox