[Tickets #12867] Re: send reminder does not send mails
noreply at bugs.horde.org
noreply at bugs.horde.org
Mon Oct 13 17:44:37 UTC 2014
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: https://bugs.horde.org/ticket/12867
------------------------------------------------------------------------------
Ticket | 12867
Aktualisiert Von | samuel.wolf at wolf-maschinenbau.de
Zusammenfassung | send reminder does not send mails
Warteschlange | Whups
Version | 3.0.0RC3
Typ | Bug
Status | Feedback
Priorität | 1. Low
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
samuel.wolf at wolf-maschinenbau.de (2014-10-13 17:44) hat geschrieben:
> whups/lib/Driver.php
/* We may have no recipients due to users excluding themselves
* from self notifies. */
if (!$to) {
continue;
}
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')) {
Horde::debug($from);
mail('samuel.wolf at wolf-maschinenbau.de','test--1',
'nachrichttext');
continue;
}
}
mail('samuel.wolf at wolf-maschinenbau.de','test--2',
'nachrichttext');
if ($opts['ticket']) {
/* Add attachments. */
I receive "test--1", but never "test--2".
Horde Debug:
2014-10-13T19:28:18+02:00 DEBUG: Variable information:
array(4) {
["user"]=>
string(11) "samuel.wolf"
["type"]=>
string(4) "user"
["name"]=>
string(11) "Samuel Wolf"
["email"]=>
object(Horde_Mail_Rfc822_Address)#607 (4) {
["comment"]=>
array(0) {
}
["mailbox"]=>
string(11) "samuel.wolf"
["_host":protected]=>
string(20) "wolf-maschinenbau.de"
["_personal":protected]=>
NULL
}
}
../whups/config/prefs.local.php
$_prefs['email_others_only']['value'] = 1;
More information about the bugs
mailing list