[Tickets #3571] NEW: Overriding smtp server not working in mimp

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Mar 7 15:11:11 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3571
-----------------------------------------------------------------------
 Ticket             | 3571
 Created By         | phyre at rogers.com
 Summary            | Overriding smtp server not working in mimp
 Queue              | MIMP
 Version            | 1.0-BETA
 State              | New
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


phyre at rogers.com (2006-03-07 15:11) wrote:

Overriding the outgoing smtp server, as can be done in servers.php, based on
their authenticating server does not work in MIMP, and a configuration could
dpend on this.

Adding an extremely simple stanza (taken from imp) as follows just below
$params = $conf['mailer']['params']; would enable this functionality.  Seems
like a simple addition for a powerful feature.

        /* Force the SMTP host and port value to the current SMTP server if
         * one has been selected for this connection. */
        if (!empty($_SESSION['mimp']['smtphost'])) {
            $params['host'] = $_SESSION['mimp']['smtphost'];
        }
        if (!empty($_SESSION['mimp']['smtpport'])) {
            $params['port'] = $_SESSION['mimp']['smtpport'];
        }




More information about the bugs mailing list