mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Show 'To' address in mail notifications
This commit is contained in:
parent
48554590f4
commit
f335a5ec96
@ -558,6 +558,7 @@ class mail_hooks
|
|||||||
'mail_subject' => Mail::adaptSubjectForImport($recent_message['subject']),
|
'mail_subject' => Mail::adaptSubjectForImport($recent_message['subject']),
|
||||||
'mail_from' => !empty($recent_message['sender_name']) ? $recent_message['sender_name'] : $recent_message['sender_address'],
|
'mail_from' => !empty($recent_message['sender_name']) ? $recent_message['sender_name'] : $recent_message['sender_address'],
|
||||||
'mail_received' => $recent_message['date'],
|
'mail_received' => $recent_message['date'],
|
||||||
|
'mail_to' => $recent_message['to_address'],
|
||||||
);
|
);
|
||||||
// save notification status
|
// save notification status
|
||||||
$notified_mail_uidsCache[$activeProfile][$recent_message['folder']][] = mail_ui::generateRowID($activeProfile, $recent_message['folder'], $recent_message['uid'], $_prependApp=false);
|
$notified_mail_uidsCache[$activeProfile][$recent_message['folder']][] = mail_ui::generateRowID($activeProfile, $recent_message['folder'], $recent_message['uid'], $_prependApp=false);
|
||||||
@ -567,7 +568,7 @@ class mail_hooks
|
|||||||
if ($mail['mail_from'])
|
if ($mail['mail_from'])
|
||||||
{
|
{
|
||||||
$notification_message .= "<br/><strong>".lang("From").':</strong>'. $mail["mail_from"].
|
$notification_message .= "<br/><strong>".lang("From").':</strong>'. $mail["mail_from"].
|
||||||
"<br/><strong>".lang("To").':</strong>'. $mail["recieved"].
|
"<br/><strong>".lang("To").':</strong>'. $mail["mail_to"].
|
||||||
"<br/><strong>".lang ("subject"). ':</strong>' . $mail["mail_subject"].
|
"<br/><strong>".lang ("subject"). ':</strong>' . $mail["mail_subject"].
|
||||||
"<br/><br/> -------------------------------------------------------- </br>";
|
"<br/><br/> -------------------------------------------------------- </br>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user