[PR #84] [MERGED] Add posibility to specify more address and custom headers in NativeMailerHandler #920

Closed
opened 2026-03-04 03:02:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Seldaek/monolog/pull/84
Author: @jiripetrek
Created: 5/7/2012
Status: Merged
Merged: 5/7/2012
Merged by: @Seldaek

Base: masterHead: feature-mail-handler


📝 Commits (4)

  • 50a48fe NativMailerHandler: can be specified more recipients and custom headers
  • 93f814d Typos
  • 5ac0d07 Typos
  • ac69638 text-plain => text/plain

📊 Changes

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

View changed files

📝 src/Monolog/Handler/NativeMailerHandler.php (+22 -6)

📄 Description

I recently need to specify custom headers and more emails in handler (i know, that i can do same thing by adding more handlers with different adresses, but this is more elegant). And I think, it can be useful for somebody else too.

So there it is.


🔄 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/Seldaek/monolog/pull/84 **Author:** [@jiripetrek](https://github.com/jiripetrek) **Created:** 5/7/2012 **Status:** ✅ Merged **Merged:** 5/7/2012 **Merged by:** [@Seldaek](https://github.com/Seldaek) **Base:** `master` ← **Head:** `feature-mail-handler` --- ### 📝 Commits (4) - [`50a48fe`](https://github.com/Seldaek/monolog/commit/50a48feba36e6f8f46991092cb96b92f0c87f29e) NativMailerHandler: can be specified more recipients and custom headers - [`93f814d`](https://github.com/Seldaek/monolog/commit/93f814d721ad00b6d1a4102583ed1a430234a072) Typos - [`5ac0d07`](https://github.com/Seldaek/monolog/commit/5ac0d070b7bae3c4e52cfe4197e5cde8c35f915a) Typos - [`ac69638`](https://github.com/Seldaek/monolog/commit/ac696388248e544dfc08e8104b51b7a3603078ad) text-plain => text/plain ### 📊 Changes **1 file changed** (+22 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/Monolog/Handler/NativeMailerHandler.php` (+22 -6) </details> ### 📄 Description I recently need to specify custom headers and more emails in handler (i know, that i can do same thing by adding more handlers with different adresses, but this is more elegant). And I think, it can be useful for somebody else too. So there it is. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 03:02:48 +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/monolog#920
No description provided.