After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751511 - evolution can not send mail after being open a couple of minutes
evolution can not send mail after being open a couple of minutes
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Mail
3.12.x
Other Linux
: Normal critical
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2015-06-25 17:59 UTC by Yura
Modified: 2015-09-03 06:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yura 2015-06-25 17:59:51 UTC
I can only send emails for the first couple of minutes after opening evolution.
Thereafter the following error occurs:

The reported error was "Could not send message: ResolveNames: MAPI error (0x61b48bd7) occurred".
or 
The reported error was "Could not send message: ResolveNames: MAPI error  (0xcae16a08) occurred".

The work around is to close evolution and restart it.

There is no problem with receiving emails.

---------------------------------------------------
fro more details see launchpad:
https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1318971

Yura.
Comment 1 Yura 2015-06-25 18:32:58 UTC
I looked more into this problem and here are some extra info, evolution is sending emails until these messages in the syslog:

Jun 25 11:19:00 yku-sp3 org.gnome.evolution.dataserver.AddressBook6[2069]: (evolution-addressbook-factory:21194): libedata-book-CRITICAL **: book_backend_get_contact_list_uids_sync: assertion 'class->get_contact_list_sync != NULL' failed
Jun 25 11:19:00 yku-sp3 org.gnome.evolution.dataserver.AddressBook6[2069]: message repeated 2 times: [ (evolution-addressbook-factory:21194): libedata-book-CRITICAL **: book_backend_get_contact_list_uids_sync: assertion 'class->get_contact_list_sync != NULL' failed]
Jun 25 11:19:24 yku-sp3 org.freedesktop.Notifications[2069]: ** (notify-osd:21669): WARNING **: stack_close_notification_handler(): notification id == 0, likely wrong

after this point I cannot send emails...
Comment 2 Yura 2015-06-25 18:42:17 UTC
BTW, the above errors/warnings happens after I checked for new emails (via Send/Receive button) and then select any new/unread email in evolution.

Maybe it is interesting to know that if I (or evolution) did not check for new emails, I can select new/unread emails and no error/warning message.
Comment 3 Yura 2015-06-25 19:02:03 UTC
I think there is related bug for this one in fedora 18, but this release is EOL and they closed it...
https://bugzilla.redhat.com/show_bug.cgi?id=903166
Comment 4 Yura 2015-06-26 00:00:04 UTC
OK, here is my solution to this problem. I updated to evolution 3.16.0 from ppa:fta/gnome3 and it is working right now. and even more, with this version I have server push notification so it is much better user experiance!

BTW I see the same errors/warnings in the system log, but I can send emails...


Jun 25 16:54:12 yku-sp3 kernel: [25635.895571] mce: [Hardware Error]: Machine check events logged
Jun 25 16:54:09 yku-sp3 org.gnome.evolution.dataserver.AddressBook9[2069]: message repeated 17 times: [ (evolution-addressbook-factory-subprocess:17736): libedata-book-CRITICAL **: book_backend_get_contact_list_uids_sync: assertion 'class->get_contact_list_sync != NULL' failed]
Jun 25 16:55:27 yku-sp3 org.freedesktop.Notifications[2069]: ** (notify-osd:21669): WARNING **: stack_close_notification_handler(): notification id == 0, likely wrong
Jun 25 16:55:41 yku-sp3 org.gnome.evolution.dataserver.AddressBook9[2069]: (evolution-addressbook-factory-subprocess:17736): libebookbackend-WARNING **: Unable to update gal : 404 Not Found
Jun 25 16:55:47 yku-sp3 org.gnome.evolution.dataserver.AddressBook9[2069]: message repeated 4 times: [ (evolution-addressbook-factory-subprocess:17736): libebookbackend-WARNING **: Unable to update gal : 404 Not Found]
Jun 25 16:57:26 yku-sp3 org.freedesktop.Notifications[2069]: ** (notify-osd:21669): WARNING **: stack_close_notification_handler(): notification id == 0, likely wrong
Jun 25 16:57:52 yku-sp3 org.gnome.evolution.dataserver.AddressBook9[2069]: (evolution-addressbook-factory-subprocess:17736): libebookbackend-WARNING **: Unable to update gal : 404 Not Found
Comment 5 Milan Crha 2015-06-26 06:48:05 UTC
Thanks for a bug report. I guess the update to 3.16.x took in also newer OpenChange and eventually Samba, on which evolution-mapi depends.

I do not know what server version you connect to, but if I can suggest then since Exchange 2007 an evolution-ews can be used to connect there. It's lighter for dependencies and in certain cases even quicker than evolution-mapi. With Exchange 2013 servers the MAPI protocol is disabled by default and only EWS protocol is available.

As you made this running, I think I can either close this or convert it into a bug report about the critical warnings from the book_backend_get_contact_list_uids_sync().
Comment 6 Milan Crha 2015-09-03 06:29:27 UTC
I'm closing this in favor of 3.16, and eventually upcoming 3.18.0.