diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/dbui/mmoutputtypepage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx b/sw/source/ui/dbui/mmoutputtypepage.cxx index dca072a0a514..ad0ed9c129fc 100644 --- a/sw/source/ui/dbui/mmoutputtypepage.cxx +++ b/sw/source/ui/dbui/mmoutputtypepage.cxx @@ -468,8 +468,8 @@ void SwSendMailDialog::DocumentSent( uno::Reference< mail::XMailMessage> const & bool bResult, const OUString* pError ) { - //sending should stop on send errors - if(pError && + //sending should stop on send errors, except after last error - it will stop in AllMailsSent + if (pError && m_nProcessedCount + 1 < m_nExpectedCount && m_pImpl->xMailDispatcher.is() && m_pImpl->xMailDispatcher->isStarted()) { Application::PostUserEvent( LINK( this, SwSendMailDialog, |