[Tickets #12867] Re: send reminder does not send mails

noreply at bugs.horde.org noreply at bugs.horde.org
Tue Oct 14 13:07:39 UTC 2014


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

Ticket URL: https://bugs.horde.org/ticket/12867
------------------------------------------------------------------------------
  Ticket             | 12867
  Updated By         | guenter at zamia.org
  Summary            | send reminder does not send mails
  Queue              | Whups
  Version            | 3.0.0RC3
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


guenter at zamia.org (2014-10-14 13:07) wrote:

we just investigated this a bit further: problem seems to originate in  
this if-statement (Driver.php:515)

             if ($details && $details['type'] == 'user') {
                 $user_prefs = $GLOBALS['injector']
                     ->getInstance('Horde_Core_Factory_Prefs')
                     ->create('whups', array('user' => $details['user']));
                 if ($from['type'] == 'user' &&
                     $details['user'] == $from['user'] &&
                     $user_prefs->getValue('email_others_only')) {
                     continue;
                 }
             }

if we set email_others_only to 0, reminders are being sent. if we  
leave it to (default) 1, reminders are skipped because  
$details['user'] == $from['user']. this seems to originate from  
Whoups.php:960:

             $whups_driver->mail(array('recipients' => array($user => 'owner'),
                                       'subject' => $subject,
                                       'view' => $view,
                                       'template' => $message_file,
                                       'from' => $user));

where the same user is set in the recipients list as in the from field.







More information about the bugs mailing list