Alertra Script Language 1.9
pop3
Interacts with a POP3 server to perform the following functions: connect, msgcount, and clear.
usage: pop3 [operation] [user] [password] [options]
parameters:
req | name | type | description |
---|---|---|---|
Y | operation | keyword | One of:
|
Y | user | expression | Login ID of user's mailbox |
Y | password | expression | Password for the user's mailbox |
N | options | list | Available options are:
|
examples
pop3 connect "joe" "garage"
Establishes a connection to the server and logs in.
pop3 msgcount $USER $PASS
Assuming $USER contains "jack" and $PASS contains "beanstalk", this command will log into the POP server, query it for the the current number of messages in the inbox and place that number in $CONTENT.
pop3 clear "jill" "beanstalk"
Logs into the POP3 server and deletes all the messages in the account's inbox.
pop3 connect "joe" "garage" ssl
Establishes a secure connection to the server and logs in.
Alertra Script Language: Language Reference