kootenpv / yagmail

Send email in Python conveniently for gmail using yagmail
MIT License
2.64k stars 263 forks source link

Send fails with pyinstaller only when contents is added #255

Open JoaoieP opened 1 year ago

JoaoieP commented 1 year ago

Isolated the issue using a script with only yagmail and send.

Crashes upon attempting to send email with anything passed to contents, even with yagmail.raw. Only affects program made with pyinstaller. Attachments and subject are fine.

kootenpv commented 1 year ago

What's the error?

JoaoieP commented 1 year ago

Crashes with no output. If you have any ideas (some sort of debug verbose mode?) I 'm willing to do more tests.

kootenpv commented 1 year ago

Not sure how pyinstaller works but perhaps you can insert some printing code in the send function of the source code somehow