fix: directly passthrough user

..to prevent problems with mail internal hosts
This commit is contained in:
2024-02-19 01:46:19 +01:00
parent 2c7dadbf35
commit f0bd08025e

View File

@@ -5,7 +5,7 @@ from email.mime.multipart import MIMEMultipart
def smtp_send(server, port, user, password, recipient, subject, body):
# Email and password for authentication
sender_email = f'{user}@{server}'
sender_email = user
sender_password = password
# Recipient email address