Giter Site home page Giter Site logo

mailproc's People

Contributors

cccaballero avatar xr09 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mailproc's Issues

Improve readme

As Os Mo from Facebook Python Programming Language group says:

You might want to add more details on the GitHub page. It wasn't clear from the start what it's intention was until I looked at the documentation. Also, providing real use cases would help

Fix Email class get_body() for python 3.x

mailproc.Email get_body() function is failing in python 3.x with error:

Traceback (most recent call last):
File "/home/carlos.caballero/PycharmProjects/mailproc_test/main.py", line 19, in
app.run(mails)
File "/home/carlos.caballero/PycharmProjects/mailproc_test/venv/lib/python3.5/site-packages/mailproc/mailproc.py", line 229, in run
self.serve_route(steroids_mail.get_from_address(), 'from', mail=mail)
File "/home/carlos.caballero/PycharmProjects/mailproc_test/venv/lib/python3.5/site-packages/mailproc/mailproc.py", line 188, in serve_route
return action_function(**kwargs)
File "/home/carlos.caballero/PycharmProjects/mailproc_test/main.py", line 11, in hello_world
print(mail.get_body())
File "/home/carlos.caballero/PycharmProjects/mailproc_test/venv/lib/python3.5/site-packages/mailproc/mailproc_email.py", line 102, in get_body
body += part.get_payload(decode=1)
TypeError: Can't convert 'bytes' object to str implicitly

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.