GNOME Bugzilla – Bug 664062
Profile name not saved in transport URL
Last modified: 2011-12-16 10:07:48 UTC
I'm running Evolution 3.2 with the evolution-mapi extension on Fedora 16. My "Server Type" is Exchange MAPI. I've entered the correct authentication info, which I can confirm by clicking the "Authenticate" button in the Receiving Email tab. I also can retrieve email and calendar information from the MAPI server. However, any time I try to send an email, I get the following error in the console. FYI, I'm pretty sure the exchange server is 2010. (evolution:4520): libexchangemapi-CRITICAL **: exchange_mapi_connection_find: assertion `profile != NULL' failed Any other info I can provide?
Just as a clarification, I'm running Evolution 3.2.1. Also, it doesn't matter if I try to send an email to others in my company (using the same email server) or if I send to foreign emails (gmail, etc). And finally, if I set up my account with the IMAP extension, then sending mail works fine.
evolution-3.2.1-2.fc16.i686 evolution-data-server-3.2.1-1.fc16.i686 evolution-mapi-3.2.1-1.fc16.i686 evolution-data-server-devel-3.2.1-1.fc16.i686
Thanks for a bug report. Was the account created as a fresh one or as a migrated from Fedora 15 of Fedora 14? It seems the transport part of the account is missing the information about the profile being used, which does this runtime critical warning. Usually recreating the account fixes the issue. Another option would be disabling the account, closing evolution, then run evolution, edit the account, authenticate with it, press OK and then enable the account again.
This was a freshly created account on Fedora 16 GNOME 3 using the above evolution versions (from comment #2). I tried removing the account and re-adding it, I tried authenticating it (which always worked), I tried the IMAP account (which works), but nothing I tried would get MAPI send to work.
Nice. I couldn't reproduce it the first time I created the account, the message was sent, but when I closed evolution and run it again, and did almost the same steps (instead of replying I created a new message), then the message sending failed. Looking into GConf key /apps/evolution/mail/accounts the corresponding one for the MAPI account has its <url /> for <source /> with a 'profile' parameter, but the <transport><url /></transport> is without that 'profile' parameter, which makes it fail. A workaround is to add the parameter into the XML blob into the GConf key (it can be tricky). I'll try to workaround this in evo-mapi sources. I'm confirming the bug.
Created attachment 202056 [details] [review] ema patch for evolution-mapi; This is searching active stores for the corresponding one to the transport service and uses its settings to obtain profile name to be used. I suppose this will not be needed once the account management changes will land into git master of evolution-data-server and friends. I also built a package for F16 for you. http://koji.fedoraproject.org/koji/taskinfo?taskID=3537507
Created commit bb43c9f in ema master (3.3.3+) Created commit 68c1667 in ema gnome-3-2 (3.2.3+)
Thanks I appreciate your dilligence!
*** Bug 665718 has been marked as a duplicate of this bug. ***
*** Bug 664265 has been marked as a duplicate of this bug. ***