[PR #868] [MERGED] [NEW] add a modal dialog to warn the user about sending an email without a body #1104

Closed
opened 2026-02-25 21:37:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/868
Author: @mercihabam
Created: 1/15/2024
Status: Merged
Merged: 1/30/2024
Merged by: @kroky

Base: masterHead: empty-body


📝 Commits (1)

  • cf8788a [NEW] add a modal dialog to warn the user about sending an email without a subject or body

📊 Changes

6 files changed (+232 additions, -18 deletions)

View changed files

📝 modules/core/site.css (+101 -0)
📝 modules/core/site.js (+46 -0)
📝 modules/smtp/hm-mime-message.php (+3 -1)
📝 modules/smtp/modules.php (+3 -3)
📝 modules/smtp/site.css (+0 -1)
📝 modules/smtp/site.js (+79 -13)

📄 Description

Description

Add a warning prompt that's shown when the user is about to send an email with an empty body.

Issues


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/868 **Author:** [@mercihabam](https://github.com/mercihabam) **Created:** 1/15/2024 **Status:** ✅ Merged **Merged:** 1/30/2024 **Merged by:** [@kroky](https://github.com/kroky) **Base:** `master` ← **Head:** `empty-body` --- ### 📝 Commits (1) - [`cf8788a`](https://github.com/cypht-org/cypht/commit/cf8788a0f2d9436714f69d3b10358954ba0b1517) [NEW] add a modal dialog to warn the user about sending an email without a subject or body ### 📊 Changes **6 files changed** (+232 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `modules/core/site.css` (+101 -0) 📝 `modules/core/site.js` (+46 -0) 📝 `modules/smtp/hm-mime-message.php` (+3 -1) 📝 `modules/smtp/modules.php` (+3 -3) 📝 `modules/smtp/site.css` (+0 -1) 📝 `modules/smtp/site.js` (+79 -13) </details> ### 📄 Description ## Description <!-- Describe the Pullrequest. --> Add a warning prompt that's shown when the user is about to send an email with an empty body. ### Issues <!-- Which Issues does this fix, which are related? - fixes #XXX - relates #XXX --> - [X] #866 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:37:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1104
No description provided.