Comments (3)
You are right, I will address the issue in the future.
from mailio.
In this sense I wonder what's the design decision behind catching asio (ssl) errors and rethrow them as mailio errors? Because asio is such a vital core part of the communication layer, we definitely need the underlying communication error.
I personally would let asio errors through to the caller, as they are std::system_error
s these days anyway.
from mailio.
It was meant to move them away as low level errors. But from your and some other comments, I see there is a need to trace these errors as well the errors received from servers. Thus, I plan to extend the mailio exceptions with these additional data. In this version I am dealing with the various encoding issues, so probably I'll let the error handling for the next version.
from mailio.
Related Issues (20)
- parsing imap resp-text
- [Question] Image in the body of the message HOT 10
- Please, could anyone provide me an example of how to get the mail content as a unencoded string? HOT 2
- Linking errors HOT 11
- Is it ok to use `-std=c++17` instead of `-std=gnu++1z` HOT 1
- smtps::connection::submit response HOT 2
- add_bcc_recipient HOT 8
- Switching to SSL failed HOT 6
- Parsing failure. HOT 8
- Allow formatting of BCC addresses HOT 2
- when parsing the header of this mime crashed! HOT 14
- mailio stop working with vcpkg? HOT 1
- How to handle the inline image in the mime data? HOT 1
- Tests fail to link: ld: error: undefined symbol: main HOT 3
- Tests fail: error: in "format_attachment_utf8": check ... has failed HOT 2
- problem with static library version HOT 3
- error when linking statically HOT 1
- It looks like a problem with the SSL verification. HOT 2
- Problem when linking the "simple smtp message" example with mingw. HOT 3
- Line policy overflow in a header (mime.cpp) HOT 5
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 mailio.