[imp] SMTP problem

Jan Schneider jan at horde.org
Wed Feb 11 08:33:00 PST 2004


Zitat von Rohit Vinayak <Rohit.Vinayak at three.co.uk>:

> HI all,
>
> I've got the horde.php configured as follows:
>
> $conf['mailer']['params'] = array();
> //$conf['mailer']['params'] = array('sendmail_path' => '/usr/lib/sendmail');
> $conf['mailer']['params'] = array('host' => '10.248.5.111');
> $conf['mailer']['params'] = array('port' => '10025');
>
> The problem is that when ever I try and send a message I get the following
> error:
>
> There was an error sending your message: unable to connect to smtp server
> localhost:10025
>
> Now, why does horde try to connect to localhost when I've configured it to
> use 10.248.5.111

Because you overwrite the first setting with the second.

Use:
$conf['mailer']['params']['host'] = '10.248.5.111');
$conf['mailer']['params']['port'] = '10025');
instead.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list