- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why am I unable to send emails with attachment using python script?
Ruki
Loves-to-Learn
05-10-2023
07:12 PM
I tried to migrate my python scripts for Splunk to send out emails with attachments from python2 to python3. In python3, when the attachment got Chinese/ Japanese or any other special characters, the email cannot be sent out. This issue didn't happen in python2 script. I think it's because python 3 is strict about not mixing different types of strings, but i don't know how to modify it. Any ideas or tips for this issue?
