Changes between Initial Version and Version 1 of Ticket #64368, comment 8
- Timestamp:
- 12/06/2025 05:45:09 PM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #64368, comment 8
initial v1 1 I've found the solution to this problem. After reviewing Sendmail and PHP code, I was trying to understand how the Sender processing was being done, as it made no sense to me (plus the `sendmail_from` thing). I thought that the problem was that it was adding a `sendmail_from` but this was irrelevant. It's true that having a `sendmail_from` set up, will set it as the Sender envelop but not because of PHP default behaviour but a PHPMailer casuistry that is not relevant to this specific problem .1 I've found the solution to this problem. After reviewing Sendmail and PHP code, I was trying to understand how the Sender processing was being done, as it made no sense to me (plus the `sendmail_from` thing). I thought that the problem was that it was adding a `sendmail_from` but this was irrelevant. It's true that having a `sendmail_from` set up, will set it as the Sender envelop but not because of PHP default behaviour but a PHPMailer casuistry that is not relevant to this specific problem (and goes behind the default set of `setFrom`, this is why @jamieburchell could not see any changes when setting this `sendmail_from` in his server, as the From address takes precedence unless explicitly set in `$phpmailer->Sender`) 2 2 3 3 The thing is that all issues fall into PHPMailer: it was basically double-setting the `-f` parameter if the `sendmail_path` was set (as many had, and as it is a recommendation by the PHP docs).
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)