Replies: 5 comments 1 reply
-
Just an idea, how I do it:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the relay idea. That got me thinking, maybe I could set it up with this: https://github.com/loopingz/smtp-relay |
Beta Was this translation helpful? Give feedback.
-
Thanks for your interest in helping improve NetBox! We've reviewed your issue and would like to get more details to help understand it in depth. Please revise the original report to address the following:
|
Beta Was this translation helpful? Give feedback.
-
To be honest, I'm pretty new at Netbox and don't know exactly what email is used for here. I read it can be used to alert on critical events but I haven't been able to test this yet. Perhaps there's a better solution, maybe webhooks? boto3 is Amazon's Python library which is used to authenticate and send SES email. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the candor, @llamafilm. I'm still getting my NetBox legs too. And I learned something today – I've used boto3 before to wrangle S3 objects but never looked at the other services it supports. I think there's value in continuing this conversation, so I'm going to convert this issue to a discussion and generalize the subject a little bit. Maybe it will come back around to a more fully-formed feature request down the road. |
Beta Was this translation helpful? Give feedback.
-
NetBox version
v3.7.0
Feature type
New functionality
Proposed functionality
In addition to SMTP, offer a way to send emails using Amazon SES.
Example code available here: https://github.com/awsdocs/aws-doc-sdk-examples/blob/main/python/example_code/ses/ses_email.py#L66
Use case
My organization strongly prefers SES APIs over SMTP. This allows you to authenticate by EC2 instance role, without creating any passwords.
Database changes
maybe a new field to store email method preference
External dependencies
https://pypi.org/project/boto3/
Beta Was this translation helpful? Give feedback.
All reactions