Comments (6)
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.
from yagmail.
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 [email protected] 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.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #43 (comment)
from yagmail.
Seeing this error also. It looks like __del__
is getting called after the connection is already closed. It tries to close after already being closed, and this error is produced.
Could be easily made not to occur by checking if is_closed
before closing in __del__
, though honestly I have no idea why it's happening for me right now.
from yagmail.
Wow, when you write "fixes and issue number" it closes automatically....
from yagmail.
@kootenpv Yup, haha. Thanks for adding so quickly.
from yagmail.
@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 :)
from yagmail.
Related Issues (20)
- App Password not available for my gmail account. How should I authenticate? HOT 4
- Error report while start my application HOT 4
- Sending smtp with starttls HOT 4
- Send fails with pyinstaller only when contents is added HOT 3
- Can't install HOT 4
- AttributeError: partially initialized module 'yagmail' has no attribute 'SMTP' (most likely due to a circular import) HOT 1
- yagmail支持获取邮件内容吗 HOT 1
- Sending the same email with different attachments to different recipients but the script stops running after 3-4 iterations every time and also the first few mails take 10-15 seconds to send each
- difficulty getting oauth file with yagmail HOT 4
- sending unwated attachments. HOT 2
- 只能发送邮件,不能接收邮件吗? HOT 1
- Keyring is Locked on Ubuntu HOT 2
- Send mail in draft
- Slow sending HOT 1
- smtplib.SMTPDataError: (550, b'2efb645ddd8af6f-15f8b Mail rejected')
- MailServerError
- Is this sill maintained ? No commit in the past year HOT 1
- It throws an exception when running on windows 10 cmd.exe after packed into an .exe script by pyinstaller command HOT 1
- issues with content display
- Send identical email with same content multiple times to same address [sending email occasionally works]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yagmail.