AquaMail Forum

English - Android => Development builds => Topic started by: Kostya Vasilyev on November 22, 2013, 01:36:01 am

Title: 1.3.0-pre2
Post by: Kostya Vasilyev on November 22, 2013, 01:36:01 am
http://www.aqua-mail.com/download/AquaMail-market-1.3.0-pre2.apk

+ Accepting/replying to meeting invites are now implemented for EWS accounts.

For EWS, replying to a meeting invite is a server side operation with its own logic.

In particular, this automatically moves the invite into the Deleted folder. It's the server doing it, not AquaMail.

Same thing happens in Exchange Online web mail.

Maybe it seems natural to anyone who's used Exchange before, but to me, it was a surprise. The documentation is quite clear on this though.

--> Next step: implementing NTLM authentication for EWS (not needed for Office 365/Exchange Online, but often used in corporate environments).
Title: Re: 1.3.0-pre2
Post by: stevealb on November 22, 2013, 03:11:07 am
I don't know if our exchange server uses EWS or not. I know it uses activesync which Aqua Mail does not. I can also get my email through OWA (outlook web access). Does that mean EWS works as well. I work for a huge company and it's not possible to ask the system admin. To log into OWA I use: https://mail.mycompany.net. After I log in the address shows as https://mail.mycompany.net/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fmail.mycompany.net%2fowa%2f
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 22, 2013, 01:21:50 pm
Can you try this in a web browser:

https://mail.mycompany.net/EWS/Exchange.asmx ?

This is the standard EWS access endpoint.
Title: Re: 1.3.0-pre2
Post by: stevealb on November 22, 2013, 06:08:41 pm
EWS doesn't work, only OWA. I guess this means that my exchange server does not support EWS.
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 22, 2013, 09:28:10 pm
Well, too bad. EWS is supported by Exchange since 2007, it's only been six years :)
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 22, 2013, 10:07:35 pm
1.3.0-pre2.1

http://www.aqua-mail.com/download/AquaMail-market-1.3.0-pre2.1.apk

Added support for NTLM authentication, common on self-run corporate Exchange servers.

It may be necessary to use "manual" setup and try these in the login entry field: "username", "username@company.com", "company/username@company.com"...

I'm not aware of a way to guess what the server would want, will consider adding code that tries several variations (although one of my user's login looks like "global/username", where "global/" is not his company's name... so the number of way it can be configured on the sever is literally limitless).
Title: Re: 1.3.0-pre2
Post by: stevealb on November 22, 2013, 10:46:24 pm
That did it! It now works with the new version of Aqua Mail. Email is arriving as quickly as ActiveSync and on my desktop. Nice job. Thanks!
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 22, 2013, 11:05:15 pm
Wow, that's really, really great!

Supporting NTLM is an absolute must for corporate environments, I'm so happy it's working now.

Big thanks to the Apache HTTP components team and their NTLMEngineImpl which does all the hard work.
Title: Re: 1.3.0-pre2
Post by: beerlao on November 22, 2013, 11:40:09 pm
Can confirm that NTLM is working now and I can access our corporate exchange server. Great! However, I can not browse to other server folders. Tried to change folders under account settings where I just got a blank screen, after that I was stuck in sent folder...
Title: Re: 1.3.0-pre2
Post by: stevealb on November 22, 2013, 11:40:53 pm
Ok,  now for the next item. I see that currently the program does not support the Global Address List. Will that be coming as it's critical for corporate email. Thanks for all of the support. 
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 22, 2013, 11:45:36 pm
That, unfortunately, won't be coming in the near future.

Personal contact list lookup will be added soon though.
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 22, 2013, 11:46:28 pm
@beerlao - debug log please? :) Capturing your bringing up Options and Folders / Folders?
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 22, 2013, 11:55:10 pm
@stevealb - how does the Global Address List look in "other mail apps"?

It seems that just syncing it to the device's Contacts app would be excessive, I guess the Global list can have tens of thousands entries or more (in large corporations), so...

... is it a real type lookup based on a partial match after a certain number of characters? Does it seem to be cached, or is there a wait every time?
Title: Re: 1.3.0-pre2
Post by: stevealb on November 23, 2013, 12:14:36 am
My organization has over 100,000 employees. The list is cached,  but it's a real lookup as you type letters and is not slow at all.  The stock Android email program does it.
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 23, 2013, 12:17:54 am
@stevealb

Thanks for clarifying.

With 100K entries, I doubt the entire thing is cached on the device and is kept up to date. So it's lookup as you type.

As for performance - I'm curious, how long does it take if you open your Exchange account's inbox in AquaMail and refresh just that one folder? The time taken briefly flashes in the upper right corner. Would be great if you could do it two-three times.
Title: Re: 1.3.0-pre2
Post by: beerlao on November 23, 2013, 02:04:16 am
@beerlao - debug log please? :) Capturing your bringing up Options and Folders / Folders?

I have sent it to your Gmail account :-)

Thanks for having a look!
Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 23, 2013, 02:11:30 am
Thanks, I'll be looking for it!
Title: Re: 1.3.0-pre2.3
Post by: Kostya Vasilyev on November 23, 2013, 02:26:36 am
And another update:

http://www.aqua-mail.com/download/AquaMail-market-1.3.0-pre2.3.apk

EWS: fixed Russian (and certainly other international characters) getting garbled in sent messages, some servers only.

Non-EWS: more sensible display of deeply nested reply blocks (smaller indentation really makes them more readable).


Title: Re: 1.3.0-pre2
Post by: Kostya Vasilyev on November 23, 2013, 11:43:40 pm
@beerlao -- have not gotten the log yet, something must have eaten it along the way (not in my spam folder either).

Would it be possible to resend, preferably to kman / at sign / yandex / dot ru?
Title: Re: 1.3.0-pre2
Post by: stevealb on November 24, 2013, 03:13:57 am
On average,  it refreshes in about 4-5 seconds. Interestingly,  when I set messages per page to anything more than 100 (e.g., 250), I get a network error.
Title: Re: 1.3.0-pre2
Post by: beerlao on November 24, 2013, 01:39:22 pm
@beerlao -- have not gotten the log yet, something must have eaten it along the way (not in my spam folder either).

Would it be possible to resend, preferably to kman / at sign / yandex / dot ru?

Hi Kostya,

I have just sent it to the address above! Please let me know if it's not there yet.