Pomoc Wysyłanie maila z konsoli

Damian

Persona grata!
Q's Architect
22 Styczeń 2016
740
3
163
43
QNAP
TVS-x71
Ethernet
802.11ad
Cześć,
jest możliwość wysłania maila z konsoli (sh)? Może jest możliwość użycia tego co jest QTS do powiadomień?
 
Sprawdź to: notify send
Bash:
[~] # notify send

usage: notify send [options] [message] [arg1, arg2,..argN]



optional arguments:

  -h, --help            show this help message and exit

  -A [app ID], --app_id [app ID]

                        Application ID

  -M [msg ID], --message_id [msg ID]

                        Message ID

  -l [error|warn|info], --level [error|warn|info]

                        Message Level

  -t [type number], --type [type number]

                        event log: 1, notify: 2, eventlog and notify: 3

  -C [category ID], --category_id [category ID]

                        category ID

  -L [locale path], --locale_path [locale path]

                        locale path

  -a [attachment file], --attachment [attachment file]

                        email attachment file

  -P, --purge           purge attachment file after sent

  -p [ip address], --ip [ip address]

                        IP Address

  -u [user name], --user [user name]

                        User name

  -c [computer name], --comp [computer name]

                        Computer name

  -d, --dry_run         dry_run
 
  • Lubię to
Reakcje: Damian