-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add email testing example #4152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Release v2.6.10
Fix v2.6.10 release date
Release v2.6.11
Release v2.6.12
Includes an example provided by Jeremy
|
||
``` | ||
# python ./manage.py nbshell | ||
### NetBox interactive shell (jstretch-workstation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can omit the header lines from the output to keep it a bit cleaner.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the headers
@@ -109,6 +109,16 @@ 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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably want to include a link to Django's documentation for the send_mail()
utility in case the reader wants to explore all its options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Included a link to send_mail() documentation
@jeremystretch Should be good to go. Let me know if you need anything else changed. |
Fixes:
This adds documentation on how to test email settings configured in they configuration.py file.