[PR #689] [MERGED] smtp compose form profile selection fixes #981

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

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/689
Author: @kroky
Created: 3/13/2023
Status: Merged
Merged: 3/13/2023
Merged by: @marclaporte

Base: masterHead: bugfix/smtp-profile-selection


📝 Commits (1)

  • 848685a use correct smtp profiles variable and include 'to' headers when looking up recipient to preselect a profile when replying

📊 Changes

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

View changed files

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

📄 Description

Use correct smtp profiles variable and include 'to' headers when looking up recipient to preselect a profile when replying. Two changes:

  1. smtp_profiles module output variable was never set, using the correct compose_profiles one.
  2. Look up 'To' header when resolving real recipient to preselect the compose profile as sometimes delivered and envelope headers are not present.

🔄 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/689 **Author:** [@kroky](https://github.com/kroky) **Created:** 3/13/2023 **Status:** ✅ Merged **Merged:** 3/13/2023 **Merged by:** [@marclaporte](https://github.com/marclaporte) **Base:** `master` ← **Head:** `bugfix/smtp-profile-selection` --- ### 📝 Commits (1) - [`848685a`](https://github.com/cypht-org/cypht/commit/848685adbd6818847c33ace2a1d8f593a8d7fcf4) use correct smtp profiles variable and include 'to' headers when looking up recipient to preselect a profile when replying ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `modules/smtp/modules.php` (+3 -3) </details> ### 📄 Description Use correct smtp profiles variable and include 'to' headers when looking up recipient to preselect a profile when replying. Two changes: 1. smtp_profiles module output variable was never set, using the correct compose_profiles one. 2. Look up 'To' header when resolving real recipient to preselect the compose profile as sometimes delivered and envelope headers are not present. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:36:51 +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#981
No description provided.