mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:51 +01:00
* eMail: not filtering own(ed) emailaddresses out of drafts while reopening them for continued processing
This commit is contained in:
parent
c0b1198b78
commit
b44e70ba85
@ -199,7 +199,8 @@
|
||||
$bofelamimail->openConnection();
|
||||
$bofelamimail->reopen($_folder);
|
||||
|
||||
$userEMailAddresses = $this->preferences->getUserEMailAddresses();
|
||||
// the array $userEMailAddresses was used for filtering out emailaddresses that are owned by the user, for draft data we should not do this
|
||||
//$userEMailAddresses = $this->preferences->getUserEMailAddresses();
|
||||
|
||||
// get message headers for specified message
|
||||
#$headers = $bofelamimail->getMessageHeader($_folder, $_uid);
|
||||
@ -227,9 +228,9 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
if($userEMailAddresses[$val['EMAIL']]) {
|
||||
continue;
|
||||
}
|
||||
//if($userEMailAddresses[$val['EMAIL']]) {
|
||||
// continue;
|
||||
//}
|
||||
|
||||
if(!$foundAddresses[$val['EMAIL']]) {
|
||||
$address = $val['PERSONAL_NAME'] != 'NIL' ? $val['RFC822_EMAIL'] : $val['EMAIL'];
|
||||
@ -244,9 +245,9 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
if($userEMailAddresses[$val['EMAIL']]) {
|
||||
continue;
|
||||
}
|
||||
//if($userEMailAddresses[$val['EMAIL']]) {
|
||||
// continue;
|
||||
//}
|
||||
|
||||
if(!$foundAddresses[$val['EMAIL']]) {
|
||||
$address = $val['PERSONAL_NAME'] != 'NIL' ? $val['RFC822_EMAIL'] : $val['EMAIL'];
|
||||
@ -261,9 +262,9 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
if($userEMailAddresses[$val['EMAIL']]) {
|
||||
continue;
|
||||
}
|
||||
//if($userEMailAddresses[$val['EMAIL']]) {
|
||||
// continue;
|
||||
//}
|
||||
|
||||
if(!$foundAddresses[$val['EMAIL']]) {
|
||||
$address = $val['PERSONAL_NAME'] != 'NIL' ? $val['RFC822_EMAIL'] : $val['EMAIL'];
|
||||
@ -278,9 +279,9 @@
|
||||
continue;
|
||||
}
|
||||
|
||||
if($userEMailAddresses[$val['EMAIL']]) {
|
||||
continue;
|
||||
}
|
||||
//if($userEMailAddresses[$val['EMAIL']]) {
|
||||
// continue;
|
||||
//}
|
||||
|
||||
if(!$foundAddresses[$val['EMAIL']]) {
|
||||
$address = $val['PERSONAL_NAME'] != 'NIL' ? $val['RFC822_EMAIL'] : $val['EMAIL'];
|
||||
|
Loading…
Reference in New Issue
Block a user