Git Product home page Git Product logo

Comments (6)

stephank avatar stephank commented on May 18, 2024 2

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.

amousset avatar amousset commented on May 18, 2024 1

Done in master but not published on crates.io yet.

from lettre.

amousset avatar amousset commented on May 18, 2024

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.

ConnyOnny avatar ConnyOnny commented on May 18, 2024

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.

amousset avatar amousset commented on May 18, 2024

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.

amousset avatar amousset commented on May 18, 2024

Published on crates.io (since Oct 8, 2017), closing.

from lettre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.