From dc73803ae10374e0120020fe17b661e0b8a0e7c6 Mon Sep 17 00:00:00 2001 From: Joshua Corrick Date: Wed, 12 Feb 2020 14:11:04 -0500 Subject: [PATCH] Updated with suggestions --- docs/configuration/optional-settings.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/configuration/optional-settings.md b/docs/configuration/optional-settings.md index 96130e6e8..3ea4cec5a 100644 --- a/docs/configuration/optional-settings.md +++ b/docs/configuration/optional-settings.md @@ -109,16 +109,14 @@ In order to send email, NetBox needs an email server configured. The following i * TIMEOUT - Amount of time to wait for a connection (seconds) * FROM_EMAIL - Sender address for emails sent by NetBox -Email is sent from NetBox only for critical events. If you would like to test the email server configuration please use the following: +Email is sent from NetBox only for critical events. If you would like to test the email server configuration please use the django function [send_mail()]( https://docs.djangoproject.com/en/3.0/topics/email/#send-mail): ``` # python ./manage.py nbshell -### NetBox interactive shell (jstretch-workstation) -### Python 3.6.8 | Django 2.2.10 | NetBox 2.7.4 -### lsmodels() will show available models. Use help() for more info. >>> from django.core.mail import send_mail >>> send_mail('Test Email Subject', 'Test Email Body', 'noreply-netbox@example.com', ['users@example.com'], fail_silently=False) ``` + --- ## EXEMPT_VIEW_PERMISSIONS