Running
i!-EquipmentMonitorIn.axi
Constants
The following table lists the
i!-EquipmentMonitorIn.axi Constants
dvPop3Socket | The IP device number for sending |
|
|
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 |
|
|
POP3_USER_MAX | Maximum length for |
|
|
POP3_PASS_MAX | Maximum length for |
|
|
POP3_LINE_MAX | Maximum length for date, subject and attached file (default = 256). |
|
|
POP3_MAX_EMAILS | Maximum number of |
|
|
POP3_MSG_MAX | Maximum size of message body (default = 2000). |
|
|
POP3_ATTACH_MAX | Maximum number of attachment file names stored (default = 5). |
|
|
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 |
11 |
| |
|
|
|