Open tzmfreedom opened 5 years ago
without getting deeper to the actual changes, have some thoughts:
Thank you for you reply and advice !
I rethink, revise my code and changed this PR goal.
On this PR, only when not set option -f
, set -f
option automatically.
This means if I set -ffoo@example.com
or -bs -ffoo@example.com
, Transport\Sendmail doesn't set -f
option.
So there is no negative parameter, no additional method.
you should update PR title as well. and the body is a bit hard to read as well.
This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at https://github.com/laminas/laminas-mail/issues/17.
This repository has been moved to laminas/laminas-mail. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:
git rebase -i origin/{branch}
)
Zend\Mail\Transport\SendMail
always append envelope-from parameter.But I want to set any envelope-from.
In this PR, only when not set option
-f
, set-f
option automatically. This means if I set-ffoo@example.com
or-bs -ffoo@example.com
,Zend\Mail\Transport\Sendmail
doesn't set-f
option.