GNOME Bugzilla – Bug 562948
unable to send mails containing UTF8 strings (subject)
Last modified: 2011-01-12 11:51:10 UTC
when try to send mail with subject in latin (e.g. test) despite body text is in cyrillic (e.g. проба) sending mail works. when try to send mail with subject in cyrillic (e.g. тест) sending dosent work. here is a small backtrice: exchange-mapi-connection.c(1939): Entering exchange_mapi_create_item libexchangemapi-Message: exchange-mapi-connection.c(1941): exchange_mapi_create_item: lock(connect_lock) Conversion error: Illegal multibyte sequence(�) SetProps : MAPI_E_CALL_FAILED (0x80004005) libexchangemapi-Message: exchange-mapi-connection.c(2051): exchange_mapi_create_item: unlock(connect_lock)
Awesome ! What is the SVN revision you have ? Can you try with the latest svn revision
sorry, for not including this info. ~/packages/sources/cvs/ev_mapi/evolution-mapi_new$ svn info Path: . URL: svn://svn.gnome.org/svn/evolution-mapi/trunk Repository Root: svn://svn.gnome.org/svn/evolution-mapi Repository UUID: 757ab788-fb4a-4386-9208-f8d9b22530eb Revision: 20 Node Kind: directory Schedule: normal Last Changed Author: jjohnny Last Changed Rev: 20 Last Changed Date: 2008-12-02 10:44:12 +0200 (Tue, 02 Dec 2008) it is latest, right?
Raised a ticker in openchange's libmapi http://trac.openchange.org/ticket/123 . Rephrasing summary to "unable to send mails containing UTF8 strings (subject / body)"
sorry about writing here about openchangeclinet, but despite i have register at trac.openchange.org i don't have permission to add ticket at http://trac.openchange.org/ticket/123 it is stated that r1167 may have some fixes. but they did not help. i have try ~/packages/sources/cvs/openchange$ svn info Path: . URL: svn://websvn.openchange.org/openchange/trunk Repository Root: svn://websvn.openchange.org/openchange Repository UUID: 71d39326-ef09-db11-b2a4-00e04c779ad1 Revision: 1342 Node Kind: directory Schedule: normal Last Changed Author: occl Last Changed Rev: 1342 Last Changed Date: 2009-05-08 01:00:41 +0300 (Fri, 08 May 2009) and ~/packages/sources/git/evolution-mapi$ git log commit 20a1804be63c7ce2ef9b23ffa1bbe50523345677 Author: Johnny Jacob <jjohnny@novell.com> Date: Wed May 13 14:58:02 2009 +0530 Bumping EDS / EVO minimum requirement versions to 2.27.2 because of Bug 581424 and still cant send mails with cyrrilic in body or subject... bellow are some gdb (first with subject and body in Cyrillic (unicode), second just the body [ev27@sf-july-6710b ~]$ gdb openchangeclient GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"... (gdb) run -f .evolution/mapi-profiles.ldb -S -t july@xxx.yy -s проба --body "тестване на бодито" Starting program: /usr/bin/openchangeclient -f .evolution/mapi-profiles.ldb -S -t july@nat.bg -s проба --body "тестване на бодито" [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new threads: generic error Cannot find new threads: generic error (gdb) bt
+ Trace 215615
Continuing. [New Thread 0x7f09819036f0 (LWP 14325)] Conversion error: Illegal multibyte sequence() sendmail : MAPI_E_CALL_FAILED (0x80004005) Program exited normally.
*** Bug 600831 has been marked as a duplicate of this bug. ***
I'm also seeing this. I tried sending a message with Croatian diactics that has same subject and body: "što će biti s đurom?" but it fails :(
We are still waiting for a fix from libmapi library. The fix is scheduled for 0.10 release of libmapi. till then we have to wait. Thanks.
I fixed the issue for body within bug #608320, the subject part is still there
Global fix committed in OpenChange r1695
As Julien said, this is waiting for openchange 0.10. There is nothing more evolution-mapi can do about this, thus I'm closing this as fixed.
*** Bug 624302 has been marked as a duplicate of this bug. ***
(In reply to comment #10) > As Julien said, this is waiting for openchange 0.10. There is nothing more > evolution-mapi can do about this, thus I'm closing this as fixed. It seems this bug is not fixed with that release. Still, with latest versions 2.31.1 and 0.32.1, I can not sent mail with 8-bit characters in headers (recipient name). Mail stays in outbox and evo says "Error while sending message".
(In reply to comment #12) > (In reply to comment #10) > > As Julien said, this is waiting for openchange 0.10. There is nothing more > > evolution-mapi can do about this, thus I'm closing this as fixed. > > It seems this bug is not fixed with that release. Still, with latest versions > 2.31.1 and 0.32.1, I can not sent mail with 8-bit characters in headers > (recipient name). Mail stays in outbox and evo says "Error while sending > message". I suppose your evolution is of version 2.31.1, and evolution-mapi version is 0.32.1 (it's pretty strange to mix evo 2.31.x with ema 0.32.x, maybe a typo?). But as you quoted, this requires also openchange 0.10. So my question is, do you compile openchange 0.10 (with samba4) and evolution-mapi 0.32.1 yourself, same as you know that the correct evolution-mapi library is loaded, the one which is using openchange 0.10? I believe there is something wrong with this compilation, because it works fine for me.