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 serverServer hostname
INTEGER serverportServer port
RECORD optionsOptions
lmtpConnect using LMTP instead of SMTP
Return value
BOOLEANTRUE if the succesfully connected