[horde] Problem with sending mail via mobile interface

Jan Schneider jan at horde.org
Wed Nov 7 11:58:04 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>:
>>
>>> Then I tried to debug a little more by changing Horde's log level to DEBUG.
>>> This is the output of sending via the "standard" interface on my  
>>> desktop computer:
>>
>> [snip]
>>
>>> 2012-11-06T21:44:02+00:00 INFO: HORDE [imp] 94.79.128.222 Message  
>>> sent to Jens Gruentjes <jens.gruentjes at provider.de> from jens [pid  
>>> 10595 on line 866 of "/var/www/horde/imp/lib/Compose.php"]
>>
>> So it appears that "Jens Gruentjes <jens.gruentjes at provider.de>" is  
>> the e-mail address you are sending to.
>>
>>> Now this is the output of sending via smartphone
>>
>> [snip]
>>
>>> 2012-11-06T22:04:33+00:00 DEBUG: HORDE [imp] SQL  (0,0014s)
>>>       INSERT INTO imp_sentmail (sentmail_who, sentmail_ts,
>>>         sentmail_messageid, sentmail_action, sentmail_recipient,
>>>         sentmail_success) VALUES ('jens', 1352239473,
>>>          
>>> '<20121106220433.Horde.k-N6CErzi9JQmYlxZnNilkA at mail.ebira.de>',  
>>> 'new',
>>>         'jens.gruentjes at provider.de', 1) [pid 10596 on line 806 of  
>>> "/usr/share/php/Horde/Db/Adapter/Base.php"]
>>
>> This looks correct.
>>
>>> 2012-11-06T22:04:33+00:00 DEBUG: HORDE [imp] SQL  (0,0010s)
>>>       SELECT COUNT(*) FROM imp_sentmail WHERE sentmail_ts > 1352153073 AND
>>>         sentmail_who = 'jens' [pid 10596 on line 806 of  
>>> "/usr/share/php/Horde/Db/Adapter/Base.php"]
>>> 2012-11-06T22:04:33+00:00 ERR: HORDE [imp] Ungültige  
>>> E-Mail-Adresse ( ). [pid 10596 on line 1155 of  
>>> "/var/www/horde/imp/lib/Compose.php"]
>>
>> This indicates you have an empty address in your recipients.
>>
>>> mysql> SELECT * FROM imp_sentmail WHERE sentmail_ts >= 1352239473  
>>> AND sentmail_who = 'jens';
>>> +-------------+--------------+-------------+--------------------------------------------------------------+-----------------+----------------------------+------------------+
>>> | sentmail_id | sentmail_who | sentmail_ts | sentmail_messageid     
>>>                                        | sentmail_action |  
>>> sentmail_recipient         | sentmail_success |
>>> +-------------+--------------+-------------+--------------------------------------------------------------+-----------------+----------------------------+------------------+
>>> |        7887 | jens         |  1352239473 |  
>>> <20121106220433.Horde.k-N6CErzi9JQmYlxZnNilkA at mail.ebira.de> | new  
>>>             | jens.gruentjes at provider.de |                1 |
>>> |        7888 | jens         |  1352239473 |  
>>> <20121106220433.Horde.k-N6CErzi9JQmYlxZnNilkA at mail.ebira.de> | new  
>>>             | ?                          |                0 |
>>> +-------------+--------------+-------------+--------------------------------------------------------------+-----------------+----------------------------+------------------+
>>
>> This seems to indicate that your recipient list when sending via  
>> sendmail is something like "Jens Gruentjes  
>> <jens.gruentjes at provider.de>,[Either space or null character]".  is  
>> that true?
> In the examples in my last post I always entered the first letters  
> of the recipient and then I chose the recipient from the  
> auto-completion feature of the address book. When I don't use  
> auto-completion but enter the complete address of the recipient then  
> the mail is sent without warning. I get a green "popup" saying that  
> the mail was successfully sent. But as before it is not saved in my  
> sent-mail folder.
>
> When you use the auto-completion in the desktop-version and you  
> choose a recipient then this recipient is added with a comma after  
> the address, e.g. "Jens Gruentjes <jens.gruentjes at provider.de>, ". I  
> don't see this comma in the mobile view but I see a blank or  
> null-character after the address so it looks like "Jens Gruentjes  
> <jens.gruentjes at provider.de> ". Deleting that last character the  
> mail is sent as well (and unfortunately does not show up in  
> sent-mail). So this seems to be a reason, doesn't it?

Yes, looks like it. Please create a bug report.

>> What are you using to send the message in smartmobile mode?  This  
>> is a possibly a browser issue.  I can't reproduce.
>
> I'm using the most recent Firefox for Android 4.1.1. But I get the  
> same results with the Android browser.
> -- 
> Jens Grüntjes
>
> Ebert + Grüntjes GbR
> Michael Ebert, Jens Grüntjes
> Schubertstr. 37
> 63179 Obertshausen
> Tel.: +49 (0)69 / 928879-18
> Fax.: +49 (0)69 / 928879-20
> Internet: http://www.ebira.de/


-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list