scanner / as_email_service

A Django app and smtp relay service for working with 3rd party email services and asimap
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

GH-126 - Instead of using `send_message` that can not deal with latin -1 encoded messages, do the binary conversion ourselves. #127

Closed scanner closed 7 months ago

scanner commented 7 months ago

B-( as usual the internet gives us messages that are a bit off from what the generic path in python for parsing messages expects.

Brute for this by using our own BinaryGenerator.. if it fails to encode with ascii then leap straight to latin-1

Hopefully this handles all the weird cases (it might not, but we will fix that when it happens.)

This fixes GH-126.