Clients -
email :
ImapClient
Represents an IMAP Client, which interacts with an IMAP Server.
Constructor
__init
(string host, string username, string password, ImapConfig clientConfig)
- host string
-
Host of the IMAP Client
- username string
-
Username of the IMAP Client
- password string
-
Password of the IMAP Client
- clientConfig ImapConfig {}
-
Configurations for the IMAP Client
Remote Methods
read | Reads a message.
|
Reads a message.
email:Email|email:Error emailResponse = imapClient->read();
Parameters
- folder string (default DEFAULT_FOLDER)
-
Folder to read emails. The default value is
INBOX