yagmail icon indicating copy to clipboard operation
yagmail copied to clipboard

Threading support?

Open NerdKnight66 opened this issue 3 years ago • 3 comments

I don't know if it's just my extremely sloppy code, but I keep getting errors when using python's in-built threading package. The errors say they come from the yagmail package files, and number in the thousands.

Is there official support? If not, is it planned? Am I just dumb? If so, how could I better format my code to not take forever to send many emails at a time?

NerdKnight66 avatar Jun 10 '21 10:06 NerdKnight66

Maybe try creating a yagmail.SMTP object per thread?

kootenpv avatar Jun 10 '21 13:06 kootenpv

I did, and it at first seemed fixed, but then it just broke. It kept saying that the connection was unexpectedly closed and giving more errors.

NerdKnight66 avatar Jun 22 '21 04:06 NerdKnight66

Maybe you were marked as ddos

kootenpv avatar Jun 22 '21 07:06 kootenpv