Description
Connect to a mail server
Syntax
target.mail.Connect( impl, server, user, password )
impl (input) - not yet publishedserver (input) - server to connect touser (input) - your usernamepassword (input) - your password
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 ifend functionSee also
'------------ 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
Platform Objects and Methodstarget.mail.Delete()target.mail