Connect
Description
Description
Connect to a mail server
Syntax
Syntax
target.mail.Connect( impl, server, user, password )
impl (input) - not yet published
server (input) - server to connect to
user (input) - your username
password (input) - your password
Return value
Return value
This function does not return a value.
Sample
'------------ Start ------------
function Start
if trg.mail.Connect("imap", "simx03:993", "mailtest", "test16") then
Mailer.SaveFiles trg.mail, trg.mail.GetMessages("inbox")
else trg.Message "IMAP connection failed.", true
end if
end function
See also