Menu

#1 Action variables

open
nobody
None
7
2001-09-06
2001-09-05
TormentoR
No

I'm running pop3check as a cron action, with no
output.

Variables for the action could be handy:

Example: echo "$USER, you have received %x mail(s) in
account(s): %a"

Where...
%x is replaced for the nr of new mails.
%a is replaced with the accounts with new mail.

You could think of more usefull variables:
- error information
- header (topic) information
- size (octets)

-- TormentoR

Discussion

  • Simon Liddington

    • priority: 5 --> 7
     
  • Simon Liddington

    Logged In: YES
    user_id=217262

    Good Idea. I had thought of a similar thing but didn't need
    it for my usage of pop3check but it would be better if we
    did have them.

    We would have to be able to escape the % e.g. "%age" escaped
    as "\%age"

     

Log in to post a comment.

MongoDB Logo MongoDB