2
lol
A
free user...
Here are the things to change I could find.
Haven't tested (just checked the source files), so no garantee given.
Maybe you can find more info about this on the french support site forums, I'm sure you're not the first XOOPS user using this hosting service.
http://www.frxoops.org/In /class/mail/phpmailer/phpmailer.php
Look for the function
mail_send, and replace both calls:
if ($this->Sender != "" && PHP_VERSION >= "4.0.5")
{
// The fifth parameter to mail is only available in PHP >= 4.0.5
$params = sprintf("-oi -f %s", $this->Sender);
$rt = @[b]mail[/b]($to, $this->encode_header($this->Subject), $body, $header, $params);
}
else
{
$rt = @[b]mail[/b]($to, $this->encode_header($this->Subject), $body, $header);
}
Then configure XOOPS to use mail(). Also, don't forget you'll have to re-apply this change if you ever install a new version that updates this file
.
skalpa.>
Any intelligent fool can make things bigger, and more complex. It takes a touch of genius, a lot of courage, to move in the opposite direction.
Two things are infinite: the universe and human stupidity; and I'm not sure about the 1st one (A.Einstein)