| 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`) |
| | 1 | I've found the solution to this problem. After reviewing Sendmail and PHP-src 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`) |