Skip to content

Fix #1361: confirm sends without a subject#1803

Open
Keegil wants to merge 1 commit into
runbox:masterfrom
Keegil:fix/issue-1361
Open

Fix #1361: confirm sends without a subject#1803
Keegil wants to merge 1 commit into
runbox:masterfrom
Keegil:fix/issue-1361

Conversation

@Keegil
Copy link
Copy Markdown
Contributor

@Keegil Keegil commented Mar 27, 2026

Bug fix — Messages with a blank subject can be sent without any warning or confirmation.

Problem

It was possible to send a message without entering a subject line. No prompt was shown; the message was dispatched immediately. Most email clients warn or confirm before sending a subjectless message. Issue #1361.

Fix

  • Show a confirmation dialog before sending when the subject field is blank or contains only whitespace
  • If the user confirms, the send proceeds immediately
  • Messages with a non-blank subject are unaffected

Testing

  • Regression tests added covering confirmed send, cancelled send, and non-blank subject send paths
  • npx tsc -p src/tsconfig.spec.json --noEmit passes
  • npx tsc -p src/tsconfig.app.json --noEmit passes

Fixes #1361

Warn before sending a message without a subject so users can cancel accidental blank-subject emails.

runbox#1361
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warn about empty subject in Compose

1 participant