[evolution-mapi] 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] Bug #632449 - Copy message to Inbox tries to send it
- Date: Mon, 18 Oct 2010 12:13:45 +0000 (UTC)
commit 8ace5aefb74b0b76dbe2765b2596128adecf1ad9
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 18 14:13:07 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 76519ca..68d05b3 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1130,7 +1130,7 @@ mapi_folder_append_message_sync (CamelFolder *folder,
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]