thunderbird / thunderbird/thunderbird-android

RFC6855 Support - UTF-8 in email header

Open
#3,648 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

When K9 tries to fetch an email with unencoded UTF-8 characters in the Subject: line, an RFC6855 compliant server (Courier IMAP in my case) does not return the message. It seems likely the "ENABLE UTF8=ACCEPT" command is not implemented.

Expected behavior

Emails with unencoded UTF8 (i.e 8-bit content) in the headers should be fetched from the mail server.

Actual behavior

The fetch fails.

Steps to reproduce
  1. Send email with 8-bit header content.
  2. Try to fetch from IMAP server using K9.
Environment

K-9 Mail version: 5.600

Android version:

Account type (IMAP, POP3, WebDAV/Exchange):

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by tracing K-9 Mail's IMAP fetch and server-capability handling, then investigate how RFC6855's ENABLE UTF8=ACCEPT affects fetching. Done means the reported 8-bit Subject case fetches successfully from a compliant server without regressing existing IMAP behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.