fix: smtp connection

This commit is contained in:
2024-02-17 18:29:16 +01:00
parent 8c7a748222
commit 49d46dc8f7
2 changed files with 3 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ def smtp_send(server, user, password, recipient, subject, body):
# SMTP server details
smtp_server = server
smtp_port = 587 # Default port for TLS connection
smtp_port = 25 # Default port for TLS connection
# Create a message
message = MIMEMultipart()