[PR #815] [MERGED] Fixed Plain text showing as attachment #1066

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

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/815
Author: @josaphatim
Created: 10/30/2023
Status: Merged
Merged: 12/14/2023
Merged by: @marclaporte

Base: masterHead: fixed-attachment-issue


📝 Commits (1)

  • e3c5d58 Fixed Plain text showing as attachment

📊 Changes

1 file changed (+6 additions, -3 deletions)

View changed files

📝 modules/smtp/modules.php (+6 -3)

📄 Description

Fixes https://github.com/cypht-org/cypht/issues/794

Using php explode function on empty string creates an array with 1 key. Which makes the attachment array to have at least one key.


🔄 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/815 **Author:** [@josaphatim](https://github.com/josaphatim) **Created:** 10/30/2023 **Status:** ✅ Merged **Merged:** 12/14/2023 **Merged by:** [@marclaporte](https://github.com/marclaporte) **Base:** `master` ← **Head:** `fixed-attachment-issue` --- ### 📝 Commits (1) - [`e3c5d58`](https://github.com/cypht-org/cypht/commit/e3c5d583ce0ed322b216756d55cf518a6abb14d9) Fixed Plain text showing as attachment ### 📊 Changes **1 file changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `modules/smtp/modules.php` (+6 -3) </details> ### 📄 Description Fixes https://github.com/cypht-org/cypht/issues/794 Using php explode function on empty string creates an array with 1 key. Which makes the attachment array to have at least one key. --- <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:07 +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#1066
No description provided.