Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

This is an old revision of the document!


Table of Contents

Postmsg

This module replaces the functionality of the binkit i command and is the recommended method for auto-posting (or e-mailing) messages.

Usage

The postmsg module may be executed from the Synchronet Terminal Server (e.g. as Timed Event or using the ;EXEC sysop command) with a ? prefix (e.g. ?postmsg -option sub-code), or it may be executed from an operating system command prompt via binkit.

The command-line syntax is very similar to the import (i) command supported by binkit.

Syntax

usage: postmsg.js [-option] [-option] [...] <sub-code>

<sub-code> must be a valid sub-board (msgbase) internal code

options:
        -i<filename>  import text from filename rather than stdin
        -t<name>      set 'to' user name
        -n<addr>      set 'to' netmail address
        -u<number>    set 'to' user number
        -f<name>      set 'from' user name
        -e<number>    set 'from' user number
        -s<subject>   set 'subject'
        -d            use default values (no prompt) for to, from, and subject

Note: You may need to enclose multi-word options in quotes (e.g. "-fMy Name")

See Also