[#13521] Sending a message with attachment from Android smartphone not working
Summary Sending a message with attachment from Android smartphone not working
Queue Synchronization
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester patrick@spamreducer.eu
Created 2014-08-26 (1824 days ago)
Due
Updated 2014-09-04 (1815 days ago)
Assigned 2014-09-01 (1818 days ago)
Resolved 2014-09-04 (1815 days ago)
Milestone
Patch No

Comments
patrick@spamreducer.eu 2014-08-26 15:15:47
Hi guys,
not sure if this is a BUG..

Sending messages from my Android smartphone with an attachment of some 
10kB is not possible.

1. Test done: Sending a message with approx. 80kB attachment (a little 
PDF file)
   -> *OK* SendMail command in logs, message was sent.
2. Test done: Sending a message with approx. 400kB attachment (a 
little PICTURE file)
   -> *ERROR* SendMail command *NOT* in logs, message error on smartphone
3. Test done: Sending a message with approx. 900kB attachment (a bigger PDF)
   ->

All this is just happening on smartphone, while my Outlook 2013 client 
can send similar files without any issues..

Is there any size limit in Horde configs I should change?

Thanks!

patrick@spamreducer.eu 2014-09-01 08:47:22
Is there any news on this probable BUG?

Thank you!

Michael Rubinsky <mrubinsk@horde.org> 2014-09-01 21:34:13
If there was, the ticket would be updated.

Also, your log files contain absolutely no information regarding 
sending an email.


patrick@spamreducer.eu 2014-09-02 06:45:05
> If there was, the ticket would be updated.
>
> Also, your log files contain absolutely no information regarding 
> sending an email.
>

I know, no log entries.. that is what makes me think it just *could* 
be a BUG..

Are there any special settings in PHP that could cause this?

The smartphone is sending the message (I can see it just in uploading 
dataflow), then after uploading it just drops the error "Message could 
not be sent.".

Again, Is this issue not reproducable?

Michael Rubinsky <mrubinsk@horde.org> 2014-09-02 13:41:03
>> If there was, the ticket would be updated.
>>
>> Also, your log files contain absolutely no information regarding
>> sending an email.
>>
>
> I know, no log entries.. that is what makes me think it just *could* 
> be a BUG..

If there is truly no log message, then this means that the ActiveSync 
code never sees the request, so it's not an issue in the ActiveSync 
code.

> Are there any special settings in PHP that could cause this?

Possible. Check for timeouts, both in PHP and any firewalls, post size 
limits etc...


> The smartphone is sending the message (I can see it just in 
> uploading dataflow),

Try tracing it with Wireshark.

> Again, Is this issue not reproducable?

No, it is not.  Attachments of all sizes I have tried work fine, on 
all of my test devices.

patrick@spamreducer.eu 2014-09-02 17:44:47
Ok, will try that tomorrow!

Thank you! :)

patrick@spamreducer.eu 2014-09-04 15:16:46
>>> If there was, the ticket would be updated.
>>>
>>> Also, your log files contain absolutely no information regarding
>>> sending an email.
>>>
>>
>> I know, no log entries.. that is what makes me think it just *could*
>> be a BUG..
>
> If there is truly no log message, then this means that the 
> ActiveSync code never sees the request, so it's not an issue in the 
> ActiveSync code.
>
>> Are there any special settings in PHP that could cause this?
>
> Possible. Check for timeouts, both in PHP and any firewalls, post 
> size limits etc...
>
>
>> The smartphone is sending the message (I can see it just in uploading
>> dataflow),
>
> Try tracing it with Wireshark.
>
>> Again, Is this issue not reproducable?
>
> No, it is not.  Attachments of all sizes I have tried work fine, on 
> all of my test devices.
well, I have debugged for some hours now.. and the error has just 
*disappeared* !

We have restarted our server this night; I suppose this has to do with 
our problem..
Maybe again it was a caching issue or something like that?

Are there any advices you could give us for the future? Is there any 
need to flush caches manually in conjunction with Horde?

Thank you!