Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
修复 No suitable authentication method found. 问题
Browse files Browse the repository at this point in the history
  • Loading branch information
PSoul committed Oct 17, 2017
1 parent c39845a commit 277b35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobra/send_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def send_mail(target, filename, receiver):
server = smtplib.SMTP_SSL(host=host, port=port)
else:
server = smtplib.SMTP(host=host, port=port)

server.starttls()
s_sid = filename.split('.')[0]
msg = MIMEMultipart()
msg['From'] = sender
Expand Down

0 comments on commit 277b35f

Please sign in to comment.