AMX i!-EquipmentMonitor User Manual

Page 17

Advertising
background image

Running i!-EquipmentMonitor

13

i!-EquipmentMonitor

i!-EquipmentMonitorIn.axi Functions (Cont.)

Pop3SetRefresh

Sets the refresh
time the include file
checks for new
e-mails and
whether they should
be deleted form the
server.

Syntax:

Pop3SetRefresh(Integer Refresh, CHAR Delete)

Pop3SetRefresh

has these arguments:

Refresh:

Integer containing the refresh time in seconds. 0 disables automatic e-
mail retrieval.

Delete:

1 or 0. 1 will delete all e-mails from the server as they are retrieved; 0 will
leave all e-mails on the server.

Example:

Pop3SetRefresh(120,1)

Remarks:

Pop3SetRefresh

should be called if you want to adjust when and how e-mail is

automatically retrieved from the server. By default, e-mail is not retrieved from the server
automatically.

Pop3SetServer

Sets Your POP3
Server Name for
your use.

Syntax:

Pop3SetServer(CHAR Server[])

Pop3SetServer

has these arguments:

Server

String containing the name or IP of your e-mail (POP3) server.

Example:

Pop3SetServer('mail.amx.com')

Remarks:

Pop3SetServer

should be called in DEFINE_START of your application.

Pop3SetUser

Sets your POP3
user name and
password for you
e-mail (POP3)
account.

Syntax:

Pop3SetUser(CHAR User[], CHAR Pass[])

Pop3SetUser

has these arguments:

User

String containing the user name of your e-mail (POP3) account.

Pass

String containing the user password of your e-mail (POP3) account.

Pop3SetUser

does not return a value.

Example:

Pop3SetUser('vmorrison','GoldenAutumnDay')

Remarks:

Pop3SetUser

should be called in DEFINE_START of your application.

Advertising