Skip to content
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

AttributeError: partially initialized module 'yagmail' has no attribute 'SMTP' (most likely due to a circular import) #258

Open
tjerram opened this issue Oct 26, 2022 · 1 comment

Comments

@tjerram
Copy link

tjerram commented Oct 26, 2022

Just installed yagmail on a fresh install of raspberry pi os and tried to run the following. I got the error above.

import yagmail

# initiating connection with SMTP server
yag = yagmail.SMTP("*******","*******")
# Adding Content and sending it
yag.send("************.com","yagtest","test of Yagmail from python")
@kootenpv
Copy link
Owner

Most likely you called this file yagmail.py or email.py which would cause the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants