mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 09:02:45 +08:00
Resolve #1686
This commit is contained in:
parent
3a8af7de29
commit
cc04a82bfe
1 changed files with 1 additions and 1 deletions
|
@ -835,7 +835,7 @@ trait Messages
|
||||||
}
|
}
|
||||||
} else if ($oSmtpClient->IsConnected()) {
|
} else if ($oSmtpClient->IsConnected()) {
|
||||||
if ($iMessageStreamSize && $oSmtpClient->maxSize() && $iMessageStreamSize * 1.33 > $oSmtpClient->maxSize()) {
|
if ($iMessageStreamSize && $oSmtpClient->maxSize() && $iMessageStreamSize * 1.33 > $oSmtpClient->maxSize()) {
|
||||||
throw new ClientException(Notifications::ClientViewError, 'Message size '. ($iMessageStreamSize * 1.33) . ' bigger then max ' . $oSmtpClient->maxSize());
|
throw new ClientException(Notifications::ClientViewError, null, 'Message size '. ($iMessageStreamSize * 1.33) . ' bigger then max ' . $oSmtpClient->maxSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($sFrom)) {
|
if (!empty($sFrom)) {
|
||||||
|
|
Loading…
Reference in a new issue