NAS542 - send mail from CLI?

is there a solution to send mail from cli;

example: echo TEXT | mail -s SUBJECT dest@whatever.com

Accepted Solution

  • Mijzelf
    Mijzelf Posts: 2,751  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    Answer ✓

    AFAIK the firmware uses a python script to send mail. But I never looked close enough to it to isolate that function.

    You can install Entware-ng and then install msmtp

All Replies

  • Mijzelf
    Mijzelf Posts: 2,751  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    Answer ✓

    AFAIK the firmware uses a python script to send mail. But I never looked close enough to it to isolate that function.

    You can install Entware-ng and then install msmtp

  • linuxopa
    linuxopa Posts: 7
    First Comment

    ok. thanks.

Consumer Product Help Center