Comments (6)
I've been working on an SMTP crate that uses Tokio and nom, and builds on parts of lettre. This is very rough, right now: https://github.com/stephank/tokio-smtp/
from lettre.
Done in master but not published on crates.io yet.
from lettre.
Sounds like a good idea. The email builder is not really good, and some other implementations look better (like https://github.com/mikedilger/email-format for example).
I also think the API (SendableEmail
) for transports is much too limited, and should be completely changed before a stable release.
It mmight also be a good idea to split it into different crates, as some may require quite heavy dependencies (like an HTTP client).
from lettre.
In what way do you want to change the SendableEmail
trait? The only quirky thing about it is the requirement for the message id.
Against dependency bloat I recommend using Cargo features in the lettre-transports
crate.
from lettre.
Mainly been able to stream message content, and maybe a specific interface for higher-level types of transports (HTTP APIs, etc.). We could also avoid the Message-ID, or maybe make it optional.
Cargo features are a good solution indeed.
from lettre.
Published on crates.io (since Oct 8, 2017), closing.
from lettre.
Related Issues (20)
- Tab and spaces located at the end of a quoted printable body line should be encoded HOT 4
- Use async pool when enable async feature HOT 1
- Double quote not removed when parsing Mailbox from str
- Getting the following error when using smtp tls example HOT 1
- Error
- send email with special ethernet
- Update examples to discourage use of... HOT 4
- Some clients don't like emails with no `Content-Type` headers
- Unexpected behaviour while using env variables HOT 1
- Send mail with gmail smtp server, got error Error { kind: Response, source: "incomplete response" } HOT 4
- An unwanted blank space in the subject HOT 1
- How to send an email with both TLS and authentication?
- Connection Invalid Headers HOT 2
- Is there a plan to support socks5 agents? HOT 1
- Derive serde Traits for key objects HOT 2
- Using rustls-tls feature still depends on 'openssl-sys' HOT 2
- Multiple Errors Deploying an SMTP Relay HOT 4
- How to correctly include an attachment HOT 1
- Sending email leads to an os error (invalid token) HOT 6
- Emails with attachments are not sent on windows HOT 1
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 lettre.