SMTPConnection::Connect (open)
Connects to a remote server
Syntax
LOADLIB "wh::internet/smtp.whlib";
BOOLEAN FUNCTION Connect(STRING server, INTEGER serverport, RECORD options)
Parameters
STRING server
Server hostname
INTEGER serverport
Server port
RECORD options
Options
lmtp
Connect using LMTP instead of SMTP
Return value
BOOLEAN
TRUE if the succesfully connected