Help Wysyłanie maila z konsoli

Damian

Network Architect
Q's Professional
Jan 22, 2016
482
84
28
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ń?
 

Silas Mariusz

SysOp
Administrator
Apr 5, 2008
9,407
1,871
153
www.devspark.pl
QNAP
TS-x77
Ethernet
1 GbE
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
 
  • Like
Reactions: Damian