forked from extern/egroupware
Mail - stop additional mail in sent folder when merging multiple contacts into email
This commit is contained in:
parent
310359ab9f
commit
cd661ed3ba
@ -6972,7 +6972,9 @@ class Mail
|
||||
}
|
||||
if ($sendOK || $openAsDraft)
|
||||
{
|
||||
if ($this->folderExists($_folder,true))
|
||||
if ($openAsDraft)
|
||||
{
|
||||
if($this->folderExists($_folder,true))
|
||||
{
|
||||
if($this->isSentFolder($_folder))
|
||||
{
|
||||
@ -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