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

  • Posts: 2,895  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

  • Posts: 2,895  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

  • Posts: 7
    First Comment

    ok. thanks.

Welcome!

It looks like you're new here. If you want to get involved, click on this button!

Welcome!

It looks like you're new here. If you want to get involved, click on this button!

Consumer Product Help Center