diff --git a/SoObjects/SOGo/SOGoMailer.m b/SoObjects/SOGo/SOGoMailer.m index 94430778d..619d62f9a 100644 --- a/SoObjects/SOGo/SOGoMailer.m +++ b/SoObjects/SOGo/SOGoMailer.m @@ -168,6 +168,10 @@ else result = [self _sendMailData: mailData withClient: client]; } + else + result = [NSException + exceptionWithHTTPStatus: 500 + reason: @"cannot send message: (smtp) originator not accepted"]; [client quit]; [client disconnect]; }