I!-equipmentmonitorin.axi, Constants, Structures – AMX i!-EquipmentMonitor User Manual

Page 15: Variables

Advertising
background image

Running i!-EquipmentMonitor

11

i!-EquipmentMonitor

i!-EquipmentMonitorIn.axi

Constants

The following table lists the i!-EquipmentMonitorIn.axi constants.

Structures

The following describes an i!-EquipmentMonitorIn.axi structure:

Structure _sEmailMessage

{

Integer nMsgNum;

Char cUniqueID[POP3_USER_MAX];

long lMsgSize;

Char cFrom[POP3_USER_MAX];

Char cFromPersonal[POP3_USER_MAX];

Char cTo[POP3_USER_MAX];

Char cToPersonal[POP3_USER_MAX];

Char cDate[POP3_USER_MAX];

Char cSubject[POP3_LINE_MAX];

Char cMessage[POP3_MSG_MAX];

Integer nAttachCount;

Char cAttachments[POP3_ATTACH_MAX][POP3_LINE_MAX];

Variables

The following are a list of i!-EquipmentMonitorIn.axi variables:

VOLATILE

_sEmailMessage

sEmailMessage[POP3_MAX_EMAILS] Emails retrieved from server

VOLATILE

Integer

nPop3QtyMail; Number of message retrieved from server

VOLATILE

Integer

nPop3TotalMail; Number of total messages on server

VOLATILE

CHAR

bPop3Debug Set to 1 to debug

i!-EquipmentMonitorIn.axi Constants

dvPop3Socket

The IP device number for sending e-mails (default = 0:11:0}.

POP3_VERSION

Version number of the include file.

POP3_PORT

IP Port that the POP3 server is listening on (default = 110).

POP3_BUFFER_MAX

Maximum size of buffer for IP socket (default = 2048).

POP3_SERVER_TO

Timeout in 1/10 for contacting the POP3 server (default = 1200).

POP3_URL_MAX

Maximum length for e-mail server name (default = 1000).

POP3_USER_MAX

Maximum length for e-mail addresses (default = 500).

POP3_PASS_MAX

Maximum length for e-mail password (default = 100).

POP3_LINE_MAX

Maximum length for date, subject and attached file (default = 256).

POP3_MAX_EMAILS

Maximum number of e-mails to be retrieved (default = 20).

POP3_MSG_MAX

Maximum size of message body (default = 2000).

POP3_ATTACH_MAX

Maximum number of attachment file names stored (default = 5).

Advertising