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-90: Forwarded messages are not displaying properly on the receivers side #91

Closed scanner closed 11 months ago

scanner commented 11 months ago

When the system forwards email it attaches the original email as an inline attachment.

It appears to be somewhat parsed in that we get the headers in but the email appears to be base64 encoded and is just a big block of letters.. sometimes parseable sometimes not.

mhshow, a paragon of ancient history, complains: mhshow: message/rfc822" type in message 8614 should be encoded in 7bit or 8bit

NOTE: closes GH-90

scanner commented 11 months ago

Okay, so even if we send email that seems to be properly formatted, postmark is re-writing it to base64 encode the message (instead of leaving it as Content-Transfer-Encoding: 8bit)

So postmark is likely getting in the way here. Maybe we need to 'forward' the message by adding text to the text/plain and text/html parts.