Comments (3)
So I created a test with a basic CSV file (see attachment below) and sent it as a type text/csv attachment and everything went through fine. Can you perhaps attach a sample or describe what might be special about the CSV or mail sending process? Please ensure there is no divulge any sensitive personal or corporate information.
from mailslurper.
Ok, after investigating the issue with you I see the following issues that I will work to correct.
- The content type of this CSV attachment was application/octet-stream. This is a problem with the sender, but should not necessarily be a show stopper for MailSlurper
- The attachment controller in the service is attempting to Base64 decode the attachment, regardless of if the attachment is actually base64 encoded or not. This is a bug in MailSlurper
I will work to address this bug. For the base64 encoding question, since I cannot rely on the content type, I will use the following to determine if I should attempt a decode or not.
- Check if the content length is a multple of 4 (length % 4 == 0)
- Validate against a regex like this for base64 allowed characters: ^[A-Za-z0-9+/=]+\Z
from mailslurper.
Thank you so much for the prompt response and resolution.
from mailslurper.
Related Issues (20)
- Unable to consume emails - Problem executing command
- Can't execute downloaded binary on MacOS Big Sur HOT 1
- problem with using telnet
- copyright is outdated
- mail slurper-mysql-auto deletion of emails
- Compilation instructions outdated HOT 1
- Displaying Turkish Characters problem (utf-8) HOT 1
- Does it support IMAP and POP connections HOT 2
- Dockerfile build error related to deprecated go get commands HOT 1
- The /mail service request always goes to localhost HOT 3
- New release HOT 3
- Russia invaded Ukraine, but the problem was CREATED by USA HOT 2
- Provide feedback on MailSlurper v2! HOT 1
- CORS failing in docker HOT 2
- Problem with SQlite (only on windows ?) with 1.15.0 HOT 11
- How to run mail server using config.json HOT 2
- Startup error on Mailslurper HOT 1
- RFC 5321 4.5.2 not fully implemented (double dot in message)
- SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) + SCRAM-SHA-512(-PLUS) + SCRAM-SHA3-512(-PLUS) supports
- Cannot access admin page with default config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailslurper.