mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-11 17:20:53 +01:00
Mail - stop additional mail in sent folder when merging multiple contacts into email
This commit is contained in:
parent
310359ab9f
commit
cd661ed3ba
@ -6971,6 +6971,8 @@ class Mail
|
||||
$_folder = $this->getDraftFolder();
|
||||
}
|
||||
if ($sendOK || $openAsDraft)
|
||||
{
|
||||
if ($openAsDraft)
|
||||
{
|
||||
if($this->folderExists($_folder,true))
|
||||
{
|
||||
@ -7007,6 +7009,7 @@ class Mail
|
||||
$savefailed = true;
|
||||
$alert_msg .= lang("Saving of message %1 failed. Destination Folder %2 does not exist.",$Subject,$_folder);
|
||||
}
|
||||
}
|
||||
if ($sendOK)
|
||||
{
|
||||
$processStats['success'][$val] = 'Send succeeded to '.$nfn.'<'.$email.'>'.($savefailed?' but failed to store to Folder:'.$_folder:'');
|
||||
|
Loading…
Reference in New Issue
Block a user