Installeer Sendmail op Synology

1. Using ‘sendmail’ Command

Sendmail is a most popular smtp server used in most of Linux/Unix distribution. sendmail allows to send email from command line. Use below instructions to send email using ‘sendmail‘ command.

Create a file using following content.

# vim /tmp/email.txt

Subject: Terminal Email Send

Email Content line 1 Email Content line 2

Subject: line read as Subject of email.

Now send email using following command.

# sendmail user@example.com < /tmp/email.txt