Comments (5)
I need more information to understand your bug:
-
What do you mean by non-unicode characters? There aren't any non-unicode characters that should be making it this far into your app.
-
What version of Python, django and django-mailer are you using?
-
For you changes, it is always better to send a diff to make it clear what it was changed from and to.
from django-mailer.
I have checked the code and it seems to work on both Python 2 and 3. However, the line you highlighted could be handled better, so I've also pushed a commit that improves it - 9e94f60 . Please let me know if you still have problems - post a traceback, and the data that causes it to go wrong.
from django-mailer.
Hi Luke,
sorry if my previous issue comment was uncompleted.
In my case I've a subject like "Attività del giorno" and the char 'à' rises the error.
My configuration is:
- Django==1.8.8
- django-mailer==1.1
- mailer==0.8.1
- python 2.7
I can't upgrade mailer because it upgrade even Django, and the application isn't compliant with the new one :'(
I saw your commit and it's working for me.
Thank you very much
from django-mailer.
There is no problem using django-mailer with Django 1.8.8. I think you probably did:
pip install --upgrade django-mailer
This upgrades everything that django-mailer depends on. However, if you do:
pip install django-mailer==1.2.2
you should have no problem - it won't upgrade Django. You can also install from VCS https://pip.pypa.io/en/stable/reference/pip_install/#git
from django-mailer.
The code you've edited was already changed since 1.1, with tests showing that it works with unicode. Please upgrade to the latest version:
pip install django-mailer==1.2.2
from django-mailer.
Related Issues (20)
- Fallback email sender HOT 1
- Need to find matching MessageLogs by email address HOT 2
- What is the purpose of send_loop HOT 3
- Allow setting priority without using django-mailer specific functions
- Please start with the "why?" and the benefits HOT 2
- Having problem on django-mailer on using with djoser HOT 6
- Condense logging HOT 2
- send_loop busy loops when there are deferred messages HOT 1
- TypeError sequence item 1: expected str instance, NoneType found HOT 5
- Forecast for the next deploy? HOT 7
- Fix issue with BigAutoField
- More granular control of how many emails to send. HOT 1
- use unittest.mock instead of mock HOT 2
- How to access subject line from db HOT 4
- Stop retrying/deferring after n failures HOT 1
- Hello HOT 2
- lockfile dependency is deprecated
- Webmail Smtp HOT 3
- feature request: release email(s) from admin under interface under Message actions HOT 2
- Issue running runmailer_pg 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 django-mailer.