Connect

Description

Connect to a mail server

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

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

Platform Objects and Methods

target.mail.Delete()

target.mail