Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.
|
li_sendmail_cli [2014/05/08 16:59] pvi aangemaakt |
— (huidige) | ||
|---|---|---|---|
| Regel 1: | Regel 1: | ||
| - | [[http://swisstechiethoughts.wordpress.com/2014/01/20/howto-send-mail-from-synology-nas-commandline-using-google-mail-relay/ | 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 | ||