-
Notifications
You must be signed in to change notification settings - Fork 266
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
smtplib.SMTPServerDisconnected: please run connect() #43
Comments
Hi, thanks for taking the time to post an issue. Could you provide some example code? I cannot reproduce by |
Hi, Thx for your prompt reply. I managed to fix it by not using the with section. The code ends without any error message (LEVEL=DEBUG), which seems normal as I don’t properly close the connection (following the hints of the doc). The code is quite simple and really isn’t worth being sent. Maybe it is related to new GMail settings ? Regards, PS : btw, I am using Airmail on Mac. The HTML (see attached), which is an email signature, is attached to the email sent. It is well displayed in Airmail Client as an HTML body (which is ok) and also as a file attached but this one is continuously trying to download it and cannot be opened. In my former code, which is a step by step process for using Gmail (that’s why I was trying your very convenient library), I did not have this issue. When using Mail App on Mac, everything works in both cases. I know you are not supposed to support Airmail but maybe it may give you some hints about anything. Le 1 mai 2016 à 22:32, Pascal van Kooten notifications@github.com a écrit : Hi, thanks for taking the time to post an issue. Could you provide some example code? I cannot reproduce by with + body + html file attached. — |
Seeing this error also. It looks like Could be easily made not to occur by checking if |
Wow, when you write "fixes and issue number" it closes automatically.... |
@kootenpv Yup, haha. Thanks for adding so quickly. |
@steve2072 It appears my comment to you hadn't gone through. I'm not exactly sure what the problem/error is, but if you provide an example perhaps it can be fixed :) |
Hi. When trying to send with a mail within a with section and with a body and an HTML file attached, I have this error.
The text was updated successfully, but these errors were encountered: