Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require the asynchronous API #82

Open
xiexin0606 opened this issue Aug 23, 2021 · 1 comment
Open

Require the asynchronous API #82

xiexin0606 opened this issue Aug 23, 2021 · 1 comment

Comments

@xiexin0606
Copy link

xiexin0606 commented Aug 23, 2021

This library is really good, much better than vmime and mailcore2.
But when will the asynchronous API is ready? I see it built base on the boost ASIO, it will be easier to support asynchronous API.

Another question: does it thread-safe? Can I use multiple threads to send bulk emails at the same time?

Thanks

@karastojko
Copy link
Owner

Hi, I plan to add the asynchronous API but after the release of the version 1.0. Currently, I clean some bugs which should make the library more robust.

By taking the last version (commit of few minutes ago), you should be able to use it with a thread per connection. Since there were some corner cases which led to crashes, let me know if you encounter an issue. So far, I tested extensively only with IMAP (plain and SSL), but since the issue was on the TCP level, I expect to work for SMTP without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants