mikel / mikel/mail

Transfer encoding not preserved

Open
#87 2 comments 0 reactions 0 assignees View on GitHub
Feature Request More Work Needed
Dominant language
Ruby
Stars
3.7k
Forks
934
PR merge metrics
No merged PRs in 30d

Description

I have a hash representing a MIME message (headers and :body) and when I feed it to Mail.new() it mostly works, except that when I call .encoded on the new message, all the content-transfer-encodings get changed. I would be very very nice if the octets in the body of Mail.new(str).encoded were the same as the octets in the body part of str

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through Mail.new() with a hash containing MIME headers and :body, then compare the body octets from the input with the result of .encoded. Trace the parsing and content-transfer-encoding path and verify that the original encodings and body octets are preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.