Giter Club home page Giter Club logo

Comments (5)

cole avatar cole commented on May 23, 2024 3

1.1.5 is out now with this change.

from aiosmtplib.

cole avatar cole commented on May 23, 2024 1

Also an issue in stmplib: https://bugs.python.org/issue29750

This isn't really a straightforward solution unfortunately — assuming that UTF-8 is used is probably correct most of the time, but that behaviour isn't specified in any RFC as far as I can tell. Some SMTP servers support AUTH without supporting SMTPUTF8, also.

The most obvious solution to me right now is to allow the user to use bytes for username and passwords, and just passing that through if so.

from aiosmtplib.

cole avatar cole commented on May 23, 2024 1

Ok, looking into it a bit more, I don't think we will cause any issues by switching the default from ASCII to UTF-8, and that should make it just work with Unicode strings for most people. I've also added the option to use bytes.

Please try the current main branch if you're able, and let me know if it works for you.

from aiosmtplib.

sabuhish avatar sabuhish commented on May 23, 2024

Thank you for the detailed information. Thanks for having the support of UTF-8 you did a great job.

As dependecy_link is deprecated in pip I am not able to pull over. StackOverflow-Question. I also tried yesterday and today PEP 508 URL dependencies twine throws an error while uploading to PyPI.

Is there any possibility to release a new version so, the module can install dependencies from there?
Thanks in advance!

from aiosmtplib.

cole avatar cole commented on May 23, 2024

@sabuhish you can try the 1.1.5 pre release: https://pypi.org/project/aiosmtplib/1.1.5.dev0/

from aiosmtplib.

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.