GetNumberOfPopMessages: Difference between revisions
Jump to navigation
Jump to search
m (removed Category:CDR using HotCat) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This command | 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 9: | Line 15: | ||
|- | |- | ||
|GetNumberOfPopMessages | |GetNumberOfPopMessages | ||
|PortIndex | |PortIndex, POPServerIPAddressorHostName, UserName, Password [SSL flag] | ||
|[[R2D2 Error Codes|Error Code]] in case of error. | |[[R2D2 Error Codes|Error Code]] in case of error. | ||
|} | |} | ||
'''OUTPUT''' | '''OUTPUT'''<br>Success or Error Message (See [[Data Messages|Data Commands Messages]]) | ||
'''EXAMPLE''' <syntaxhighlight lang="text"> | '''EXAMPLE''' <syntaxhighlight lang="text"> | ||
~# 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 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:DATA]] | |||
[[Category:R2D2]] |
Latest revision as of 18:22, 1 April 2025
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