E-mails with information on device status can be sent automatically if certain events occur. To do this, just include the mailto command into entries in the action table or cron table.
Attachments can be sent with the e-mails. This allows the results of console commands executed on the device before sending the mail to be sent as an attachment. In this way, the content of tables or menus (e.g. detailed status messages) can be sent by e-mail.
- Action (action table) or command (cron table) (max. 250 characters) Here you describe
the action that is be executed at a certain time or when a change in the status of the WAN
connection occurs. Only one action can be triggered per entry.
Possible values for the actions (max. 250 characters):
- mailto: – This prefix causes an e-mail to be sent.
- attach=`console command`
- Blank
mailto:admin@mycompany.de?subject=ADSL_status?attach=`dir /status/adsl`
An action can be used to send mutliple console commands:mailto:admin@mycompany.de?subject=Status_reports?attach=`dir /status/adsl`?attach=`dir /status/config`
The attached files are named 'cmd1.txt', 'cmd2.txt', etc.