Splunk Enterprise

Why am I unable to send emails with attachment using python script?

Ruki
Loves-to-Learn

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?

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...