Allow PHP config sendmail_path to be the default

Created on 2 October 2020, over 4 years ago
Updated 7 February 2023, almost 2 years ago

Problem/Motivation

The PHP ini config for sendmail_path is overridden and due to the option being hard coded '-' in the TransportFactory.php:111

Steps to reproduce

Try to capture email by overriding PHP ini's sendmail_path locally for Mailhog or custom script.

Proposed resolution

Allow people to use the default PHP config.

Remaining tasks

May need update hook, to explicitly set the use_default_php_sendmail_path to false.

User interface changes

New option in settings to use default.

API changes

New config, default to use the PHP default, existing sites should continue to use the settings as is because use_default_php_sendmail_path should be NULL/FALSE

Data model changes

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada joelpittet Vancouver

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024