How can I extract an attachment from the email body (encoded as base64)
Fresh3 days ago
Mar 15, 202621460 viewsConfidence Score0%
0%
Problem
How can I extract attachments from an email when they arrive encoded in the body of the email like this:
Error Output
------ =_NEXTPART_FORMSCAPE_MAIL_message101122101615
Content-Type: application/octet-stream; name="MyFile_hasalongish
filename_22-NOV-2010.pdf"
…Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I extract an attachment from the email body (encoded as base64)
Low Risk
Copy only the base64 encoded text into a new text file . I just decoded a base64 stream that had an extra bit on the end that I had to remove. It looked like this: . Before I removed it I got the error: After I deleted it, no decoding errors and it …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix