classnetColarEmail::ImapClient

sys::Obj
  netColarEmail::ImapClient

ImapClient

Useful : http://www.dovecot.org/imap-client-coding-howto.html

connect

Bool connect()

contChar

const Int contChar := 43

debug

Bool debug := false

disconnect

Void disconnect()

host

const Str host

login

Bool login(Str user, Str pass)

logout

Void logout()

make

new make(Str host, Int port := 143)

msgId

Int msgId := 0

out

OutStream? out

port

const Int port

reader

ImapReader reader := ImapReader.<ctor>()

send

Void send(Str str)

socket

TcpSocket socket := TcpSocket.<ctor>()

state

ImapState state := ImapState.NON_AUTH