Skip to content

The Mail app should not display a blank 'To' if the 'To' is missing #1051

Description

@nawan95

What Happened?

The Mail app displays a blank "To:" field when the To: header is missing.

Image

Here the mail header:

Return-path: <rt@nawan.my.id>
Envelope-to: saya@nawan.my.id
Delivery-date: Thu, 02 Jul 2026 11:31:28 +0200
Message-ID: <rt-5.0.5+dfsg-2ubuntu0.1~esm1-4167-1782984683-1859.75-8-0@rt.nawan.my.id>
From: "no_reply@ojk.go.id via RT" <inbox@nawan.my.id>
Subject: [NWN #75] [APPK] Pengaduan Anda sudah dicatat dengan nomor [P260700863]
X-RT-Originator: no_reply@ojk.go.id
X-RT-Ticket: rt.nawan.my.id #75
X-Managed-BY: RT 5.0.5+dfsg-2ubuntu0.1~esm1 (http://www.bestpractical.com/rt/)
Reply-To: inbox@nawan.my.id
In-Reply-To: <RW3HB8TJOTU4.SQ9UYBHB5FF9@localhost.localdomain>
X-RT-Loop-Prevention: rt.nawan.my.id
Content-Type: multipart/alternative; boundary="----------=_1782984683-4167-0"
References: <RT-Ticket-75@rt.nawan.my.id>
    <RW3HB8TJOTU4.SQ9UYBHB5FF9@localhost.localdomain>
Precedence: bulk
Date: Thu, 02 Jul 2026 09:31:23 +0000
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Sender: rt@nawan.my.id
X-AV-Check: Passed
X-System-Sender: rt@nawan.my.id
X-System-UID: 2221

Steps to Reproduce

  1. Send email in a way does not have To: header
  2. Check the email in Mail app and it show blank To field

Expected Behavior

If `To: is missing from header, do not display blank To:.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions