[horde] Problem with sending mail via mobile interface

Jens Grüntjes jens.gruentjes at ebira.de
Fri Nov 2 09:25:11 UTC 2012


Zitat von Jens Grüntjes <jens.gruentjes at ebira.de>:

> Zitat von Michael M Slusarz <slusarz at horde.org>:
>
>> Quoting Jens Grüntjes <jens.gruentjes at ebira.de>:
>>
>>> Hello list,
>>>
>>> when I send a mail via smartphone I receive an error message  
>>> saying "Beim Versenden der Nachricht ist ein Fehler aufgetreten:  
>>> Ungültige E-Mail-Adresse ( )." In English it means something like  
>>> "Error while sending mail: Invalid E-Mail-Address ( )." (Sorry, I  
>>> could not get the english message because changing the language at  
>>> the login page seems to be overwritten by some preference I guess,  
>>> so the error message is in german.)
>>>
>>> Obviously the E-Mail-Address is empty. In the Horde-Logfile I find  
>>> the following entry
>>>
>>> 2012-10-31T09:49:04+00:00 ERR: HORDE [imp] Ungültige  
>>> E-Mail-Adresse ( ). [pid 10135 on line 1155 of  
>>> "/var/www/horde/imp/lib/Compose.php"]
>>>
>>> It is interesting that the mail is however sent to the recipient  
>>> but does *not* show up in my sent-mail folder. Did I misconfigure  
>>> something?
>>
>> My guess is that the charset of your DB changed and you did not  
>> convert your values (Horde/IMP can't do this for you).
>>
>> michael
>
> Which values are you referring to? I *guess* that nothing in the  
> databases although it is possible that changes were made during a  
> mysql-upgrade in the last time. But I know that I didn't make any  
> changes to databases myself. I am not a DB-specialist but I can see  
> that all tables in the horde-related DBs have the collation set to  
> "utf8_general_ci". Can you tell me how to find out if the values in  
> the DB have the wrong charset?
>
> But apart from that, should the error also occur if the recipient's  
> name does not contain any special chars like umlauts? It's only a  
> guess.
>
> -- 
> Viele Grüße
> Jens

I tried to debug a bit, so here is some output while trying to send a  
mail via mobile. As there are other users using horde at the same time  
it is possible that I mixed up some log entries and/or I forgot some  
lines. Maybe you can tell me which lines are interesting for further  
debugging.

012-11-02T09:10:59+00:00 DEBUG: HORDE [imp] SQL  (0,0006s)
         SELECT COUNT(*) FROM imp_sentmail WHERE sentmail_ts > 1351761059 AND
           sentmail_who = 'jens' [pid 12055 on line 806 of  
"/usr/share/php/Horde/Db/Adapter/Base.php"]
2012-11-02T09:10:59+00:00 DEBUG: HORDE [imp] SQL  (0,0460s)
         INSERT INTO imp_sentmail (sentmail_who, sentmail_ts,
           sentmail_messageid, sentmail_action, sentmail_recipient,
           sentmail_success) VALUES ('jens', 1351847459,
            
'<20121102091059.Horde.GY1vTErzi9JQk44jrEzy8XA at mail.ebira.de>', 'new',
           'jens.gruentjes at xyz.de', 1) [pid 12055 on line 806 of  
"/usr/share/php/Horde/Db/Adapter/Base.php"]
2012-11-02T09:10:59+00:00 DEBUG: HORDE [imp] SQL  (0,0006s)
         SELECT COUNT(*) FROM imp_sentmail WHERE sentmail_ts > 1351761059 AND
           sentmail_who = 'jens' [pid 12055 on line 806 of  
"/usr/share/php/Horde/Db/Adapter/Base.php"]
2012-11-02T09:10:59+00:00 ERR: HORDE [imp] Ungültige E-Mail-Adresse  
( ). [pid 12055 on line 1155 of "/var/www/horde/imp/lib/Compose.php"]
2012-11-02T09:10:59+00:00 DEBUG: HORDE 1.  
Horde_Core_Ajax_Application->doAction()  
/var/www/horde/services/ajax.php:56
2. call_user_func() /usr/share/php/Horde/Core/Ajax/Application.php:155
3. IMP_Ajax_Application_Handler_Common->sendMessage()
4. IMP_Compose->buildAndSendMessage()  
/var/www/horde/imp/lib/Ajax/Application/Handler/Common.php:485
5. IMP_Compose->sendMessage() /var/www/horde/imp/lib/Compose.php:823
6. IMP_Compose->_prepSendMessage() /var/www/horde/imp/lib/Compose.php:1037
7. IMP_Compose->_prepSendMessageEncode()  
/var/www/horde/imp/lib/Compose.php:1081

2012-11-02T09:10:59+00:00 DEBUG: HORDE [imp] SQL  (0,0006s)
         INSERT INTO imp_sentmail (sentmail_who, sentmail_ts,
           sentmail_messageid, sentmail_action, sentmail_recipient,
           sentmail_success) VALUES ('jens', 1351847459,
            
'<20121102091059.Horde.GY1vTErzi9JQk44jrEzy8XA at mail.ebira.de>', 'new',
           ' ', 0) [pid 12055 on line 806 of  
"/usr/share/php/Horde/Db/Adapter/Base.php"]
2012-11-02T09:10:59+00:00 DEBUG: HORDE [imp] Beim Versenden der  
Nachricht ist ein Fehler aufgetreten: Ungültige E-Mail-Adresse ( ).  
[pid 12055 on line 27 of  
"/usr/share/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]


I found out that answering to a message works in the way that a green  
message appears saying "Message xyz successfully sent". Nevertheless  
the message is not saved in the sent-mail folder. Do I have to  
configure that separately from my standard settings for imp?

-- 
Viele Grüße
Jens



More information about the horde mailing list