[Contents] [Previous] [Next] [Index]

Chapter 2
Collabra Server Data Structures


Message
Recipient
Address

This chapter is a reference to Collabra Server API data structures.

For Collabra Server program definitions, see the plugin.h header file, included in The plugin.h Header File.


Message

Represents a message.

Syntax
#include <plugin.h>
struct message;
typedef struct Message Message;
Description
This structure stores all attributes that define a single message. This includes all envelope information, such as envelope sender, envelope recipients, sender and per-recipient extensions, and so on, as well as RFC-822 attributes such as pointers to the RFC-822 headers and RFC-822 body.

See Also
FreeMessage, FreeRecipient, GetBodyFile, GetFirstRecipient, GetHeaderFile, GetNextRecipient, NewMessage, NewRecipient, PostArticle, RemoveRecipient

[Top]


Recipient

Represents the address of the recipient of a message.

Syntax
#include <plugin.h>
struct address;
typedef struct address Recipient;
Description
The Recipient structure is a type of Address that represents the address of the recipient of a message. An address can be an RFC821-compliant address or a newsgroup name string, for example: 'luke@rebelalliance.com' or 'alt.evil.empire'.

See Also
Address, AddRecipient, FreeRecipient, GetFirstRecipient, GetNextRecipient, GetRecipientAddress, RemoveRecipient

[Top]


Address

Represents the address for a recipient.

Syntax
#include <plugin.h>
struct address;
typedef struct address Address;
Description
This structure represents an address, which can be an RFC821-compliant address or a newsgroup name string, for example: 'luke@rebelalliance.com' or 'alt.evil.empire'.

See Also
Recipient, NewRecipient

[Top]


[Contents] [Previous] [Next] [Index]

Last Updated: 08/24/97 11:42:58


Copyright © 1997 Netscape Communications Corporation