beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 339

background image

F

UNCTION

R

EFERENCE

S

END

F

ILE

(

RCPT

,

FILE

)

R

EVISION

1

P

AGE

323

S

END

F

ILE

(

RCPT

,

FILE

)

A

RGUMENT

T

YPE

D

ESCRIPTION

rcpt

int

The recipient’s index in the database’s address book.

file

cstring

The path and file name to be sent.

D

ESCRIPTION

Sends an email from the Gateway with the file specified attached. The function returns
immediately, having first added the required email to the system’s mail queue. The message
will be sent using the appropriate mail transport as configured in the database.

F

UNCTION

T

YPE

This function is passive.

R

ETURN

T

YPE

This function does not return a value.

E

XAMPLE

SendFile(0, “/LOGS/LOG1/260706.csv”)