All Apps and Add-ons

Technology add-on mailclient: Why am I receiving a CSV Attachment TypeError "Mail found with unexpected codec"?

ssmiesko
Explorer

Hello, I am testing this app out with CSV attachments -- already 10x better than our current IMAP ingestion. For all of the emails I've tested, I am receiving the following error:

#START_OF_MULTIPART_2
#BEGIN_ATTACHMENT: *attachment name*.csv
Mail found with unexpected codec - <type 'exceptions.TypeError'>
#END_ATTACHMENT: *attachment name*.csv
#END_OF_MULTIPART_2

This is with 1.3.7dev. The CSV attached in this example is pure UTF-8, no quotes, three columns, 45 lines. There is one blank line on line 46, but I imagine this wouldn't break parsing a CSV file. I don't have control over the received emails, but they will be as described, so I haven't tested removing the last blank line.

Any assistance in fixing this would be greatly appreciated. Regards,

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...