5
to fix this issue:
open class/mail/phpmailer/class.phpmailer.php
find on line 391 (xoops 2.0.16)
le="color: #000000"><?php if ($this->Sender != "") $sendmail = sprintf("%s -oi -f %s -t", $this->Sendmail, $this->Sender); else $sendmail = sprintf("%s -oi -t", $this->Sendmail);
REPLACE with:
le="color: #000000"><?php if ($this->Sender != "") { $sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender)); } else { $sendmail = sprintf("%s -oi -t", escapeshellcmd($this->Sendmail)); }
voila! now you can use sendmail again safeley :)