Comments (3)
is "Content-Transfer-Encoding: base64" header missing for the filename, or the file name isn't being encoded?
from simple-mail.
The header is missing. The file name and contents are properly encoded.
See below two examples of the same file being sent - a text file with the content "abcdefg", but once the file is named testFile and once testfäöü
Let me know if you need any more info.
Raw mail source for file without umlauts:
...
--3eb453d25e5b4e5f9a4938fc8cb4e189
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
TestBody
--3eb453d25e5b4e5f9a4938fc8cb4e189
Content-Type: text/plain; name="testFile"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="testFile"
YWJjZGVmZwo=
--3eb453d25e5b4e5f9a4938fc8cb4e189--
Raw mail source for file without umlauts:
...
--25a9eab56f03403088b99a221f7d209c
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
TestBody
--25a9eab56f03403088b99a221f7d209c
Content-Type: text/plain; name="testfäöü"
Content-Disposition: attachment; filename="testfäöü"
YWJjZGVmZwo=
--25a9eab56f03403088b99a221f7d209c--
from simple-mail.
should be fixed by your MR
from simple-mail.
Related Issues (20)
- Issues with Async example HOT 2
- Clean disconnect when buffer done? HOT 6
- Sending files using QFile in async mode HOT 2
- How to use this - windows HOT 9
- Must it use with QT? HOT 1
- dot stuffing for 7/8 bit encoding
- error: C2139: QSslError: undefined class is not allowed as an argument in the compiler internal type characteristic "__is_base_of" HOT 6
- SimpleMail gets stuck in somewhere and don't report a timeout HOT 10
- Running into error when compiling HOT 1
- Program crashes when destructing "SimpleMail::MimeMessage" after calling "SimpleMail::MimeMessage::addPart" HOT 6
- Async code does nothing HOT 4
- Blocking code crashes after code block finishes HOT 6
- How to use this in Qt HOT 1
- Async-Problem and possible fix HOT 3
- Blocking code crashes after code block finishes part 2 HOT 6
- How to build statically with Qt 5.12.11? HOT 15
- comma in name (part of email address) is not handled correctly (it seams) HOT 1
- Compiling with 6.5 failed HOT 2
- Provide GPL license exclusion HOT 2
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 simple-mail.