[evolution-mapi/gnome-2-32] Bug #632449 - Copy message to Inbox tries to send it
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi/gnome-2-32] Bug #632449 - Copy message to Inbox tries to send it
- Date: Mon, 18 Oct 2010 12:14:17 +0000 (UTC)
commit cd7b8e33efb590de6b5bc08cc98ae6da7e95d8a5
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 18 14:13:44 2010 +0200
Bug #632449 - Copy message to Inbox tries to send it
src/addressbook/e-book-backend-mapi-contacts.c | 2 +-
src/camel/camel-mapi-folder.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-mapi-contacts.c b/src/addressbook/e-book-backend-mapi-contacts.c
index 9b6561f..65d604d 100644
--- a/src/addressbook/e-book-backend-mapi-contacts.c
+++ b/src/addressbook/e-book-backend-mapi-contacts.c
@@ -762,7 +762,7 @@ ebbm_contacts_create_contact (EBookBackendMAPI *ebma, const gchar *vcard, EConta
mid = exchange_mapi_connection_create_item (conn, olFolderContacts, priv->fid,
mapi_book_write_props, &mcd,
- NULL, NULL, NULL, priv->is_public_folder ? MAPI_OPTIONS_USE_PFSTORE : 0, &mapi_error);
+ NULL, NULL, NULL, MAPI_OPTIONS_DONT_SUBMIT | (priv->is_public_folder ? MAPI_OPTIONS_USE_PFSTORE : 0), &mapi_error);
e_book_backend_mapi_unlock_connection (ebma);
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index 6e55bed..1f33fb8 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1649,7 +1649,7 @@ mapi_append_message (CamelFolder *folder, CamelMimeMessage *message,
mid = exchange_mapi_connection_create_item (camel_mapi_store_get_exchange_connection (mapi_store), -1, fid,
camel_mapi_utils_create_item_build_props, item,
item->recipients, item->attachments,
- item->generic_streams, 0, &mapi_error);
+ item->generic_streams, MAPI_OPTIONS_DONT_SUBMIT, &mapi_error);
if (!mid) {
if (mapi_error) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]