GetNumberOfPopMessages
Jump to navigation
Jump to search
This command gets a number of Email messages saved in POP3 mailbox, together with total size of all messages in the mail box.
It requires an active data connection on the specified GSM port (ConnectData).
Command waits until operation is successfully finished.
Optional SSL flag can be added at the end of this command.
COMMAND
Command | Line Arguments | Returns |
---|---|---|
GetNumberOfPopMessages | PortIndex, POPServerIPAddressorHostName, UserName, Password [SSL flag] | Error Code in case of error. |
OUTPUT
Success or Error Message (See Data Commands Messages)
EXAMPLE
~# GetNumberOfPopMessages 0 "pop.acme.com" "user1" "pass"
OK MESSAGES: 10 SIZE: 8547812
~# GetNumberOfPopMessages 0 "pop.acme.com" "user1" "pass"
DATA LINK IS DOWN
~# GetNumberOfPopMessages 0 "pop2.acme.com" "user1" "pass"
PASSWORD REJECTED BY SERVER
~# GetNumberOfPopMessages 0 "pop.acme.com" "userwrong" "pass"
USER NAME REJECTED BY SERVER