Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29758

best SMTP servers for setting up IDS log alerting w/ python3 [closed]

$
0
0

I'm a Python beginner trying to write a simple script to send the latest logs from my Suricata IDS. I'm interested in what SMTP service would be best to use for integrating into a script like this - https://julien.danjou.info/sending-emails-in-python-tutorial-code-examples/

port = 2525
smtp_server = "smtp.mailtrap.io"
login = "1a2b3c4d5e6f7g" # paste your login generated by Mailtrap
password = "1a2b3c4d5e6f7g" # paste your password generated by Mailtrap

I tried Gmail and there were issues with accessing, even when trying different ports and SSL (tried what was done here How to send an email with Python?) . Mailtrap requires a subscription to use the service. Should I just use Postfix and localhost or what would people recommend for an easy to access SMTP server for sending daily alerts?


Viewing all articles
Browse latest Browse all 29758

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>