6.0.0-beta1
9/24/25

[#3571] Overriding smtp server not working in mimp
Summary Overriding smtp server not working in mimp
Queue MIMP
Queue Version 1.0-BETA
Type Bug
State Resolved
Priority 1. Low
Owners
Requester phyre (at) rogers (dot) com
Created 03/07/2006 (7141 days ago)
Due
Updated 03/08/2006 (7140 days ago)
Assigned
Resolved 03/08/2006 (7140 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/08/2006 06:49:07 AM Michael Slusarz Comment #2
Type ⇒ Bug
State ⇒ Resolved
Priority ⇒ 1. Low
Reply to this comment
This is actually a bug and has been fixed.  Thanks.
03/07/2006 11:11:11 PM phyre (at) rogers (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Overriding smtp server not working in mimp
Queue ⇒ MIMP
Reply to this comment
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'];

         }

Saved Queries