MailServer.MailServer(protocol,host,user,passwd,folder,leaveMessages)

Creates a new mail server. Creates a new mail server using the given parameters.

Arguments:

Name Type Description Mode
protocol String mail protocol [pop3,imap] in
host String mail server's host. (host) in
user String account. in
passwd String password. in
folder String what folder open (optional default INBOX) in
leaveMessages Bool do not remove messages from server when read (optional default false) in