[evolution-patches] GroupWise Mailer
- From: "Pasupathilingam Sankarasivasubramanian" <psankar novell com>
- To: <evolution-patches gnome org>
- Cc: gnome-i18n gnome org, Susarla Parthasarathi <SParthasarathi novell com>, k Harish <KHarish novell com>, gnome-doc-list gnome org, release-team gnome org
- Subject: [evolution-patches] GroupWise Mailer
- Date: Fri, 02 Sep 2005 04:46:13 -0600
Hi,
The attached patch is to change the error string that is displayed when
a mail send operation fails, due to the user exceeding his size-quota.
However, no new string is added. The string that is used in exchange is
reused here.
Can the changes be committed?
Thanks,
Sankar
Index: servers/groupwise/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/ChangeLog,v
retrieving revision 1.162
diff -u -p -r1.162 ChangeLog
--- servers/groupwise/ChangeLog 24 Aug 2005 11:44:32 -0000 1.162
+++ servers/groupwise/ChangeLog 2 Sep 2005 10:23:06 -0000
@@ -1,3 +1,9 @@
+2005-09-02 Sankar P <psankar novell com>
+
+ * camel-groupwise-transport.c:
+ (groupwise_send_to):
+ Added condition to handle the Quota errors.
+
2005-08-24 Sankar P <psankar novell com>
* e-gw-connection.[ch] :
Index: servers/groupwise/e-gw-connection.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/servers/groupwise/e-gw-connection.c,v
retrieving revision 1.131
diff -u -p -r1.131 e-gw-connection.c
--- servers/groupwise/e-gw-connection.c 31 Aug 2005 04:26:07 -0000 1.131
+++ servers/groupwise/e-gw-connection.c 2 Sep 2005 10:23:12 -0000
@@ -143,6 +143,8 @@ e_gw_connection_parse_response_status (S
case 59910: return E_GW_CONNECTION_STATUS_INVALID_CONNECTION;
case 59923: return E_GW_CONNECTION_STATUS_REDIRECT;
case 53530: return E_GW_CONNECTION_STATUS_OTHER;
+ /* FIXME: 58652 should be changed with an enum.*/
+ case 58652: return 58652;
/* FIXME: map all error codes */
}
Index: camel/providers/groupwise/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/ChangeLog,v
retrieving revision 1.108
diff -u -p -r1.108 ChangeLog
--- camel/providers/groupwise/ChangeLog 25 Aug 2005 06:50:29 -0000 1.108
+++ camel/providers/groupwise/ChangeLog 2 Sep 2005 10:23:14 -0000
@@ -1,3 +1,9 @@
+2005-09-02 Sankar P <psankar novell com>
+
+ * e-gw-connection.c:
+ (e_gw_connection_parse_response_status):
+ Added code to handle the Quota errors.
+
2005-08-25 Parthasarathi Susarla <sparthasarathi novell com>
** See bug # 312857
Index: camel/providers/groupwise/camel-groupwise-transport.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/groupwise/camel-groupwise-transport.c,v
retrieving revision 1.19
diff -u -p -r1.19 camel-groupwise-transport.c
--- camel/providers/groupwise/camel-groupwise-transport.c 31 Aug 2005 04:26:07 -0000 1.19
+++ camel/providers/groupwise/camel-groupwise-transport.c 2 Sep 2005 10:23:14 -0000
@@ -208,7 +208,11 @@ groupwise_send_to (CamelTransport *trans
g_object_unref (item);
if (temp_item)
g_object_unref (temp_item);
- camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, _("Unknown error"));
+ /* FIXME: 58652 should be changed with an enum.*/
+ if (status == 58652)
+ camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, _("You will not be able to send mails till you clear up some space by deleting some mails.\n"));
+ else
+ camel_exception_set (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE, _("Unknown error"));
return FALSE;
}
e_gw_item_set_link_info (item, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]