diff options
| author | Parthasarathi Susarla <sparthasarathi@novell.com> | 2005-02-22 05:45:15 +0000 |
|---|---|---|
| committer | Parthasarathi Susarla <saps@src.gnome.org> | 2005-02-22 05:45:15 +0000 |
| commit | c6f4a91e5adf364d3efb7047ffa3c5b43eff3671 (patch) | |
| tree | 6d4f007ef739f802fad60e000747ebecce77e153 | |
| parent | 802f49602250165df0809396a438639cc8bf8bd4 (diff) | |
| download | evolution-data-server-c6f4a91e5adf364d3efb7047ffa3c5b43eff3671.tar.gz | |
Adds a new elememt 'part' in a mail message in compliance with the schema.
2005-02-22 Parthasarathi Susarla <sparthasarathi@novell.com>
* e-gw-item.c (e_gw_item_append_to_soap_message):
Adds a new elememt 'part' in a mail message in compliance
with the schema.
| -rw-r--r-- | servers/groupwise/ChangeLog | 6 | ||||
| -rw-r--r-- | servers/groupwise/e-gw-item.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/servers/groupwise/ChangeLog b/servers/groupwise/ChangeLog index 0ba5f90ae..e1ac01e67 100644 --- a/servers/groupwise/ChangeLog +++ b/servers/groupwise/ChangeLog @@ -1,3 +1,9 @@ +2005-02-22 Parthasarathi Susarla <sparthasarathi@novell.com> + + * e-gw-item.c (e_gw_item_append_to_soap_message): + Adds a new elememt 'part' in a mail message in compliance + with the schema. + 2005-02-17 Chenthill Palanisamy <pchenthill@novell.com> * e-gw-connection.c: diff --git a/servers/groupwise/e-gw-item.c b/servers/groupwise/e-gw-item.c index a44feea0e..54751a649 100644 --- a/servers/groupwise/e-gw-item.c +++ b/servers/groupwise/e-gw-item.c @@ -2792,10 +2792,12 @@ e_gw_item_append_to_soap_message (EGwItem *item, SoupSoapMessage *msg) str = soup_base64_encode (priv->message, strlen (priv->message)); str_len = g_strdup_printf ("%d", strlen (str)); + soup_soap_message_start_element (msg, "part", NULL, NULL); soup_soap_message_add_attribute (msg, "length", str_len, NULL, NULL); soup_soap_message_add_attribute (msg, "contentType", priv->content_type, NULL, NULL); g_free (str_len); soup_soap_message_write_string (msg, str); + soup_soap_message_end_element (msg); g_free (str); } else { soup_soap_message_add_attribute (msg, "length", "0", NULL, NULL); |
