Node:create-text, Next:create-anonymous-text, Previous:get-collate-table, Up:Protocol Requests
create-text [86] (( text : HOLLERITH; misc-info : ARRAY Misc-Info; aux-items : ARRAY Aux-Item-Input )) -> ( Text-No );
Creates a new text with contents from text
and recipients
etc. defined by misc-info
(see The Misc-Info List). In
addition to the result, the server will send an asynchronous message
to all members of any of the recipients of the new text. It is not
defined whether this messages comes before or after the reply to
the create-text message. Clients should be prepared for either
situation.
The text up to the first line feed is considered to be the subject line. The remaining text is the message body. Although messages with only a subject are valid, clients should avoid letting users create such messages.
The items in aux-items
are attached to the new text.
The only Misc-Info items valid for this call are recpt
,
cc-recpt
, bcc-recpt
(introduced in protocol version 10),
comm-to
and footn-to
.
login-first
string-too-long
text
is longer than the maximum length of a message.
temporary-failure
no-such-text
not-author
footnote-limit
comment-limit
index-out-of-range
access-denied
illegal-misc
illegal-aux-item
aux-items
is illegal. The tag might be
out of range, the item not applicable to texts or whatever
aux-item-permission
long-array