[Tickets #2287] NEW: Reminder.php does not support smtpauth!

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Jul 18 02:50:05 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2287
-----------------------------------------------------------------------
 Ticket             | 2287
 Created By         | mikael.brostrom at m-sys.se
 Summary            | Reminder.php does not support smtpauth!
 Queue              | Kronolith
 Version            | 2.0.3
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


mikael.brostrom at m-sys.se (2005-07-18 02:50) wrote:

Found some problems with the reminder function.


at line 185 in kronolith/lib/Scheduler/kronolith.php:
        $mail_driver = $conf['mailer']['type'];
        $mail_params = $conf['mailer']['params'];
        if ($mail_driver == 'smtp' && $mail_params['auth'] &&
            empty($mail_params['username'])) {
            $mail_params['username'] = Auth::getAuth();
            $mail_params['password'] = Auth::getCredential('password');
        }

When you are running scripts/reminder.php (from commandline) it does not get
a user/pass.
I tried to hardcode $mail_params['username'] = "testuser";
and the same with password.

When i then sniff the smtp "chat" it does not send any user/pass at all.

A config option under the "Reminder Settings" at setup should be nice? where
you can chose a user/pass that are used by kronolith.



Need anything? contact me.

Mikael




More information about the bugs mailing list