Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #49687, comment 30


Ignore:
Timestamp:
08/09/2025 04:46:43 PM (10 months ago)
Author:
SirLouen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49687, comment 30

    v2 v3  
    1414If they simply pretend to have a `-f` fallback, I think that they should do something like you did: adding a "fakesendmail" script that actually checks and adds or remove things on the fly.
    1515
    16 Edit: Now I see an scenario where using `isSMPT` could fail. It seems that you could specify in `php.ini` a host and port directly for Windows. In that case, for anyone setup, bypassing `mail` will break their mailing system if we switch to `isSMPT` which targets `localhost:` by default. Still, we could check for `ini_get('smtp')` and `ini_get('smtp_port')` and forward accordingly.
     16Edit: Now I see an scenario where using `isSMPT` could fail. It appears that you could specify in `php.ini` a host and port directly for Windows. In that case, for anyone setup, bypassing `mail` will break their mailing system if we switch to `isSMPT` which targets `localhost:` by default. Still, we could check for `ini_get('smtp')` and `ini_get('smtp_port')` and forward accordingly. I think that if we conclude with this ticket, I will propose this idea for a future iteration.