Translations:Notification module/3/en

Версия от 12:48, 19 июля 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «Clear the contents of "/etc/ssmtp/ssmtp.conf" and fill in such lines, replacing the data with your own: <syntaxhighlight lang="linux-config"> mailhub=smtp.gmail.c…»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)

Clear the contents of "/etc/ssmtp/ssmtp.conf" and fill in such lines, replacing the data with your own:

mailhub=smtp.gmail.com:587
AuthUser=robot@contactless.ru
AuthPass=qwerty12345
UseTLS=Yes
UseSTARTTLS=Yes
#be sure to leave an empty line at the end of the file
#To send emails via Google Mail, you must allow sending emails from untrusted apps to your Google account

To verify that sending email is working, run the console command:

echo 'Test message to check sSMTP new configuration' | ssmtp ivanov@gmail.com
# instead ivanov@gmail.com substitute the address of your other box (for example, where you are going to receive notifications from the controller)

In case of additional questions, see [1] and [2].