-
Notifications
You must be signed in to change notification settings - Fork 122
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
Option to disable STARTTLS missing #115
Comments
If it can be useful, commenting out these lines inside back\pialert.py the emails arrive correctly.
|
Thank you |
You are welcome 😁 |
While you're at it, could you also enable the option to not specify user and password? This worked for me, keeping SMTP_USER and SMTP_PASS as empty strings in my config: # Send mail
smtp_connection = smtplib.SMTP (SMTP_SERVER, SMTP_PORT)
smtp_connection.ehlo()
smtp_connection.starttls()
smtp_connection.ehlo()
if SMTP_USER != "" :
smtp_connection.login (SMTP_USER, SMTP_PASS)
smtp_connection.sendmail (REPORT_FROM, REPORT_TO, msg.as_string())
smtp_connection.quit()``` |
Hi,
i'm using a local SMTP Relay without encryption and user login.
Is there a way to disable login and STARTTLS encryption for SMTP configuration?
Thank You!
The text was updated successfully, but these errors were encountered: