Все переводы
Введите имя сообщения для показа всех доступных переводов.
Найдено 2 перевода.
Сообщение | Текущий текст |
---|---|
ист. английский (en) | 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.com:587 AuthUser=robot@wirenboard.com 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 </syntaxhighlight> To verify that sending email is working, run the [[Консоль /en | console]] command: <syntaxhighlight lang="bash"> 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) </syntaxhighlight> In case of additional questions, see [http://askubuntu.com/questions/185070/why-i-get-hostname-name-or-service-not-known-error] and [https://wiki.archlinux.org/index.php/SSMTP]. |
ист. русский (ru) | Очистите содержимое ''/etc/ssmtp/ssmtp.conf'' и внесите туда такие строки, заменив данные своими: <syntaxhighlight lang="linux-config"> mailhub=smtp.gmail.com:587 AuthUser=robot@contactless.ru AuthPass=qwerty12345 UseTLS=Yes UseSTARTTLS=Yes #обязательно оставьте пустую строку в конце файла #Для отправки писем через Google Mail необходимо разрешить отправку писем от недоверенных приложений для вашего Google-аккаунта </syntaxhighlight> Чтобы проверить, что отправка email заработала, выполните в консоли команду: <syntaxhighlight lang="bash"> echo 'Test message to check sSMTP new configuration' | ssmtp ivanov@gmail.com # вместо ivanov@gmail.com подставьте адрес другого своего ящика (например того, куда собираетесь получать уведомления с контроллера) </syntaxhighlight> В случае дополнительных вопросов смотрите [http://askubuntu.com/questions/185070/why-i-get-hostname-name-or-service-not-known-error] и [https://wiki.archlinux.org/index.php/SSMTP]. |