MailServer.MailServer(protocol,host,port,user,passwd,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
port Int mail server's port. (optional) in
user String account. in
passwd String password. in
leaveMessages Bool do not remove messages from server when read (optional default false) in