diff --git a/felamimail/inc/class.uicompose.inc.php b/felamimail/inc/class.uicompose.inc.php index bf19d03551..be032389c6 100644 --- a/felamimail/inc/class.uicompose.inc.php +++ b/felamimail/inc/class.uicompose.inc.php @@ -186,6 +186,8 @@ //error_log(__METHOD__.__LINE__.' '.$formData['subject'].' '.$cachedComposeID.'<->'.$this->composeID); if (!empty($cachedComposeID) && $cachedComposeID != $this->composeID) return; if(!$this->bocompose->send($formData)) { + // reset the cached composeID, as something failed + egw_cache::setCache(egw_cache::INSTANCE,'email','composeIdCache'.trim($GLOBALS['egw_info']['user']['account_id']),null,$expiration=60); // print ""; $this->compose(); return;