[imp] imap/smtp server variable

Jon Parise jon@csh.rit.edu
Thu, 21 Jun 2001 15:55:06 -0400


On Thu, Jun 21, 2001 at 11:44:13AM -0400, Cliff Green wrote:

> At first, I thought it would be nice to add an optional value
> (smtpserver?) to the $servers hash in login.php and login.inc, and then
> test for and use it.  Too much work just now.  Perhaps the test should be
> more like:
> 
>     if( $conf['mailer']['type'] == 'smtp' &&
>        !$conf['mailer']['params']['host'] )
> 
> so that, if the smtp host has been set in conf.php, which I don't do now,
> this doesn't override it.  I obviously don't care, but it might be
> important to someone else.

I think adding an additional parameter to the $servers entry is
probably the best, most consistent way to go.  I'll add that to
my todo list, but hopefully someone else will have time to look
at it sooner.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member