Creates a new mail server. Creates a new mail server using the given parameters.
| 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 |
| folder | String | what folder open (optional default INBOX) | in |