[imp] Can't send mail with IMP3 RC2

Jan Schneider jan@horde.org
Thu, 29 Nov 2001 18:01:22 +0100


Zitat von "Kevin W. Brown" <kevin@qis.net>:

> 
> I have installed IMP3 RC2, Horde2 RC2 and PEAR 4.0.7RC3 (from horde.org) 
> 
> and I am having trouble sending mail.  After composing a message and
> clicking the 'Send Message' button, I get an error at the top of the
> compose window that reads 'There was an error sending your message'.  I
> have looked through all of my logs, and I can't find anything that
> would
> give me a hint as to why I am getting this error.  Originally, I was
> trying to use sendmail, and I had the following lines in my horde.php:
> 
> $conf['mailer']['type'] = 'sendmail';
> $conf['mailer']['params'] = array('sendmail_path' =>
> '/usr/sbin/sendmail');
> 
> That didn't work.
> 
> I then changed the above to:
> 
> $conf['mailer']['type'] = 'smtp';
> $conf['mailer']['params'] = array();
> 
> and added
> 
>     'smtphost' => 'mail.qis.net',
> 
> to my mail server specified in servers.php.

Setting smtphost in servers.php does only work if you use the server list. 
If not you have to specify the smtp server in horde.php instead:
$conf['mailer']['params']['host'] = 'mail.qis.net';

Btw, error reporting is already improved in the cvs version if sending a 
message fails.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::