Loading...
 
Skip to main content

Features / Usability


HELO command failed

Hi,
I'm a first time installer and I'm having a problem to send a test e-mail during the configuration of the mail .
I did a trace of what is sent to the mail server and it seems that tiki taking the url of the configuration page to determin the hostname and it keeps the port used.
I need to use an other port then the default so my url is localhost:81/tikiwiki/..., tiki sends HELO localhost:81 to the smtp mail server in stead of just HELO localhost or HELO

The smtp settings in php.ini don't seem to be used. Didn't find a global hostname setting.

What am missing?

(Environment: windows 7, apache 2.2, php 5.3.6, tikiwiki 8.1)

Regards,
Guy

Hi,
In lib\webmail\htmlMimeMail.php at 2 places after:

$helo = $_SERVER'HTTP_HOST';

I added:

$posc = strpos($helo, ':');
if ($posc!==false) {
$helo=substr($helo, 0, $posc);
}

This is surely not the best way to solve the problem but at least it works now.

Regards,
Guy