From 9f48d79d20819d1d65b0678099284b244e2ceae1 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 5 Apr 2011 15:10:51 +0000 Subject: [PATCH] Monotone-Parent: d0ac54b9a1d78a365c2ddff5b5f5e8f53491b8a0 Monotone-Revision: f0283ca70db031586d1105d8d042333fb67911d2 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-05T15:10:51 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoMailer.m | 4 ++++ 1 file changed, 4 insertions(+) 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]; }