AquaMail Forum
English - Android => Development builds => Topic started by: Kostya Vasilyev on July 19, 2016, 11:11:45 pm
-
Push mail for Exchange
-
Push mail for Exchange
Looking forward!
-
Already the best email app by far. After push, I'd give you 6 stars if there was anything like that.
-
Re: After push, I'd give you 6 stars if there was anything like that.
I'll have to ask Google for it :)
-
Push mail for Exchange
I am very much excited. I am waiting for this feature only. After this feature, I thought no email app will beat this.
-
Push mail for Exchange
https://www.youtube.com/watch?v=UqbTLJ0U84M&t=41s
(https://s3.amazonaws.com/lowres.cartoonstock.com/medical-maternity-mothers-baby-pregnancy-pregnancies-lfin654_low.jpg)
;)
-
It's going well, I keep making progress.
-
Seemingly more issues with Samsung's Smart-something battery optimizer -- than with Doze...
-
Progress update:
Just got it to "work" a couple of hours ago.
- The overall approach I came up with -- really works.
- "Cloud assisted": let's make a new term to cleanly differentiate from TypeMail, MyMail etc.
- Uses GCM + my own cloud servers, but has none of the (perhaps expected) bad effects on privacy
- My cloud servers know nothing:
not the password, not the user's email address, not even the mail server hosting the account
and do not have the technical capability to access the user's emails or log into the user's account
in the unlikely event that these cloud servers get hacked, there is literally nothing there, not even the users' email addresses.
- Testing in Doze Mode looks good so far
- Looks good on Android M/6, should be good on the upcoming N (7?)
- Very low traffic and battery use
- Supports multiple folders with push per account (just like IMAP does now)
- Will be Pro version only (server expenses)
Now I've put "work" above in quotes:
Needs work (sans quotes) on error handling / failure recovery / performance testing / what if the cloud server goes down / what if GCM is unreachable... and a dozen things that I haven't yet thought of.
Cautiously optimistic for a forum-grade development build in a week, maybe, hopefully.
-
Well, it sounds amazing! ;)
-
It's a really good news, but is there any ETC of the new version realeased which has PUSH mail feature?
-
It's a really good news, but is there any ETC of the new version realeased which has PUSH mail feature?
What does ETC stand for?
http://www.abbreviations.com/ETC
-
Expected Time is Completion
Sent from my LG-H818 using Tapatalk
-
-
Of lol
Sent from my LG-H818 using Tapatalk
-
Of lol
Sent from my LG-H818 using Tapatalk
Hi Paras.desai
You could use also the "edit" functionality to modify / correct a previous post:
... on the top right corner of your own posts.
8) 8)
-
-
Expected Time is of Completion
Sent from my LG-H818 using Tapatalk
Yes, I assume that.
However it could be also meant as "Experience The Creativity", or whatever else... :P
-
Oh.. for Kostya, that is more appropriate
Sent from my LG-H818 using Tapatalk
-
Re: ETC
As I wrote above -- on July 31 -- "Cautiously optimistic for a forum-grade development build in a week, maybe, hopefully"
-
Got you and thanks!
-
Update:
Things keep moving, and it seems to work pretty good right now.
But one part of the code is so far for Android 5.0+, and needs to be implemented to support Android 4.0-4.4 too.
I'll be needing a few more days for this.
-
It's quite likely that an "early access, forum-grade build" should happen tomorrow, Aug 10.
Fingers crossed, back to code one last thing...
-
It's quite likely that an "early access, forum-grade build" should happen tomorrow, Aug 10.
Fingers crossed, back to code one last thing...
Cannot wait!!
Sent from my ONEPLUS A3000 using Tapatalk
-
Just when I was ready, *both* my Internet connections went down for two hours...
Posted:
http://www.aqua-mail.com/forum/index.php?topic=4908.0
-
Hello Kostya,
I installed this version, it is working fine, messages are received very fast but the notifications are not working.
Maybe I have done something wrong, but I don't find the solution.
Regards.
Hector Zamora
-
Hektor,
Re: messages are received very fast
Very good! :)
Re: notifications
I'll take a look, thanks.
-
Thanks Kostya,
Notifications are working fine.
I like this new version, last week when the app was working with IMAP/ Office 365 was not stable.
Excellent job. Regards.
-
Thank you for your feedback @hzamora
So I guess -- overall, it seems to work (except for a few issues)?
Good news. I'm in the process of preparing to take it to the next step -- which is a Google Play "beta".
-
Hello,
any news about OWA Exchange mail push?
the application is really amazing, but push notifications on my business account exchange server are not working..or better I have to update manually or by setting a refresh rate ( and then not push mode )
Thank you
-
Hello,
any news about OWA Exchange mail push?
the application is really amazing, but push notifications on my business account exchange server are not working..or better I have to update manually or by setting a refresh rate ( and then not push mode )
Thank you
First, to make sure we are on the same page:
"Microsoft Exchange enables users to access and manage their email online through the Outlook Web Access (OWA) interface." (From MS Support pages).
So, OWA is completely separate from Android apps, Aquamail in particular.
Aquamail is using "EWS" (Exchange Web Services)
Currently, Exchange PUSH is available in Aquamail in the Google-Play "beta".
Alternatively, you can install it using the link in this thread:
http://www.aqua-mail.com/forum/index.php?topic=4976.0
If you install it from this link, you'll be able to update with the new version in Google Play without any problem.
-
I believe K9 Mail uses OWA as its "transport" (protocol) but other than that... It's also deprecated since 2007 and not supported since 2010.
So yeah, there is nothing wrong with Aqua using EWS as its "transport" for Exchange, works from Exchange 2007SP1 onward.
And yes, a version with push for Exchange is available here:
https://play.google.com/apps/testing/org.kman.AquaMail
Or here on the forum under "Development builds".
( @StR, thank you again )
-
I believe K9 Mail uses OWA as its "transport" (protocol) but other than that... It's also deprecated since 2007 and not supported since 2010.
Mea culpa. I didn't know that OWA is also a transport protocol.
Thanks for the correction, - it's always nice to learn.
PS. @Kostya, it's nice to see you back.
-
Mea culpa. I didn't know that OWA is also a transport protocol.
Thanks for the correction, - it's always nice to learn.
Not sure if it was ever intended to be, or if K9 essentially does "web scraping" of HTML that's intended to be consumed by web browsers and seen by users -- in any case, it's no longer an option, from what I understand, since Exchange 2010 :)
-
Currently, Exchange PUSH is available in Aquamail in the Google-Play "beta".
Alternatively, you can install it using the link in this thread:
If you install it from this link, you'll be able to update with the new version in Google Play without any problem.
Hi,
i tried this version, but if I do not manually update the exchange account emails does not arrive or better...emails arrive after a long time, because in synchronization / "message tracking every" It is set to 15 minutes..
Push email is enabled at my Inbox folder level, and in settings / synchronization / Push message..
:-[ :-[
-
I haven't tried Push for Exchange (so, I haven't used the newest version myself), - but if the configuration interface is similar to that for IMAP Push, there are actually three (3!) places where you need to enable Push:
1. Overall app level settings (3-dot menu from the account view )
2. Account settings (long press on the account in the account view -> options and folders)
3. Inbox (folder properties)
From your description, I suspect (2) might not be enabled.
You haven't mentioned what you phone model and Android version is.
While I don't know all the details of the Exchange Push implementation, but I think it might still be subject to the problem cause by "battery optimization". "Battery optimization" can be happening (a) at the Android level (6.0+) - so called "Doze" mode, (b) specific OEM extension (e.g. Samsung, Huawei, etc...), or (c) a 3rd-party application. In all three cases, you need to add Aquamail to the whitelist to exclude from "being optimized". That optimization simply disables apps from working.
See the FAQ item "Persistent network errors or the app not checking mail, MIUI, Huawei" in the Aquamail FAQ http://www.aqua-mail.com/?page_id=227
-
Doze Mode should not be a problem, based on my tests (my Exchange push implementation is able to use GCM).
But yes, push mail needs to be enabled, best to check all three places.
If the account gets checked every 15 minutes, then it's probably not one of those magical MIUI / Huawei / Clean Master issues.
-
Sorry for delay..
I beg your pardon but we are on the wrong way..
Here i posted my phone ad O.S.
(http://i66.tinypic.com/2gvv3er.jpg)
the three places where i tap push..(and honestly i do not know where else to plug push... :D)
(http://i64.tinypic.com/mblok3.jpg) (http://i66.tinypic.com/2gwxthd.jpg) (http://i68.tinypic.com/211t2rq.jpg)
and the last picture is default setting for checking mail (not push!)..i can change in 5 minutes but it's not the same (push)
(http://i65.tinypic.com/14e8d4o.jpg)
it may be helpful I tried to download the app from Google Play NINE and it works very well with my Exchange account in push (it's instantaneous mode)
But they do not accept POP3 and IMAP...and I'm owner of 3 IMAP account..so for me Aquamail would be the best
if you want I can be a guinea pig.......but we need to resolve this issue Please.
Thank you
-
@rossomike1966
Please go into AquaMail settings -> debug -> find and post the value under "Exchange push device ID" (last item).
I'll look it up on my server.
And what is the server, by the way? Office 365? Something else?
-
@rossomike1966
Please go into AquaMail settings -> debug -> find and post the value under "Exchange push device ID" (last item).
I'll look it up on my server.
(http://i64.tinypic.com/w1utzl.jpg)
and what do you mean when you say "And what is the server, by the way? Office 365? Something else?" My server?
It's a corporate exchange server (the bank where I work has provided me with credentials to access with Android)
-
Thanks.
Checked my server logs -- looks like your bank's Exchange configuration does not allow the particular push technology (so called "push subscriptions") which is used by AquaMail for push mail.
It's a standard Exchange feature since 2007, but I suppose it can be blocked / turned off by your company's "computer people".
If you can let me know the actual server name (in the account's incoming server settings) -- privately by email to kmansoft / gmail -- I'll check one other thing.
-
@rossomike1966
Yep. Your corporate server is supposed to "call" my server and notify it about changes in your Inbox.
It doesn't. It never ever happens.
And so I have to conclude that your bank's "computer people" have blocked the particular Exchange technology which AquaMail uses for push mail.
-
So... :-[..no solutions?
why my bank server works well with NINE app?
-
There are different ways to implement push mail for Exchange.
Looks like your bank "...blocked the particular Exchange technology which AquaMail uses for push mail"
but did not block the Exchange technology used by Nine.
PS - you're the second user from Italy whose Exchange server is this way. Wonder if there is some book -- "how to set up Exchange in 5 easy steps" -- that's been translated into Italian...
-
I hope that in the future your app can also use this technology..I'm so sorry to give up aquamail
thank you very much for your cooperation
-
I hope that in the future your app can also use this technology..I'm so sorry to give up aquamail
thank you very much for your cooperation
Of course you have a second option:
Ask your company's "computer people" to activate / turn on the push technology (so called "push subscriptions") in the bank's Exchange configuration.
As explained by Kostya, it's a standard Exchange feature for push mail since 2007:
EWS Push Notifications
<< https://msdn.microsoft.com/en-us/library/office/dn458791(v=exchg.150).aspx >>
-
BTW, Nine is able to implement push because it uses ActiveSync (not EWS) to connect to Exchange.
But I believe that ActiveSync is going to be affected by Doze Mode, same as IMAP push, so as time goes on, it'll still work, but probably not as well as it did before.
-
Of course you have a second option....
You say that..because perhaps..you don't work in a bank..it's really difficult to do what you ask... :'(
-
BTW, Nine is able to implement push because it uses ActiveSync (not EWS) to connect to Exchange.
But I believe that ActiveSync is going to be affected by Doze Mode, same as IMAP push, so as time goes on, it'll still work, but probably not as well as it did before.
I understand that you will not develop ActiveSync for your app..
-
Of course you have a second option....
You say that..because perhaps..you don't work in a bank..it's really difficult to do what you ask... :'(
Yes, I'm aware of the situation in a bank. However, it should be worth asking your colleagues from the IT-Department particularly whether it will be possible to enable 'push notifications' (or even not)
-
BTW, Nine is able to implement push because it uses ActiveSync (not EWS) to connect to Exchange.
But I believe that ActiveSync is going to be affected by Doze Mode, same as IMAP push, so as time goes on, it'll still work, but probably not as well as it did before.
I understand that you will not develop ActiveSync for your app..
In short:
Correct, AquaMail does not and will not support ActiveSync.
The reason for Kostya to go with EWS (Exchange Web Services) you will find in various threads here in the forum, e. g.:
08. September 2014
ActiveSync vs. EWS - not so clear cut
http://www.aqua-mail.com/forum/index.php?topic=2746.msg12162#msg12162
09.01.2015
Let's discuss: push mail for Exchange
http://www.aqua-mail.com/forum/index.php?topic=3195.msg15438#msg15438
You will find more discussions on this by using the forum search with keywords "ActiveSync EWS license"...
-
Correct.
I am not going to implement ActiveSync.
There is nothing wrong with using EWS, and the push implementation is fine too.
It's unfortunate that the bank blocked "EWS push notifications", but then -- they could have blocked all apps except some small number of "officially approved" ones, or could have blocked access from mobile devices, or access from outside the corporate network, ....
No matter what I do, there are always going to be cases where "the company", which holds all the cards, can do "something" to prevent my app from connecting to "their" corporate email.
-
Correct.
I am not going to implement ActiveSync.
Thanks. That's a relief. ActiveSync, or at least the versions used by most apps, is restricted compared to EWS. The only trade off I have found is the lack of push, which for me is easily handled by keeping a shorter refresh.
Good to know my shared folders access and calendar on Aquamail is safe. And that we wont be getting a truncated version of contact details down the line. ☺
Sent from mTalk
-
...... there are actually three (3!) places where you need to enable Push:
1. Overall app level settings (3-dot menu from the account view )
2. Account settings (long press on the account in the account view -> options and folders)
3. Inbox (folder properties).....
Blam! I completed step 3 and push worked immediately. @StR...Thanks for posting this!
Sent from my SM-T715Y using Tapatalk
-
When adding a new account, for IMAP and EWS, there is a checkbox right on the final screen ("save account") to enable push.
-
I am new to AquaMail and I am having difficulty getting EWS working with my email system. Are there any setup instruction other than the ones in this thread that describe all steps needed to get this working?
I am on a production release of AquaMail and not a development version.
-
@dkmackie
Basically, if the app is not able to guess the right server settings, please tap the Manual button (after entering your email and password) and you'll be able to enter them yourself.
If in doubt, please ask your company's IT people:
- Whether the corporate server supports EWS (Exchange Web Services), this is what Aqua Mail uses to connect to Exchange.
An official part of Exchange since 2007, should be enabled by default, but sometimes is disabled for various reason.
- If it is enabled, what the server settings are (server name is the most important).
For Office 365 (even if it's under your company's domain), please use server name outlook.office365.com (and the rest is default, SSL encryption, port 443).
-
I am new to AquaMail and I am having difficulty getting EWS working with my email system. Are there any setup instruction other than the ones in this thread that describe all steps needed to get this working?
I am on a production release of AquaMail and not a development version.
Are you talking about EWS or EWS Push? (The question is posted in the thread that is about Push for EWS. Hence the clarification request.)
If you are talking about EWS Push, I believe the key is in this last, underlined, sentence. If by "production" release you mean the one in Google Play, - it doesn't support EWS Push yet. It is available in -dev versions, starting with some , I believe, 1.6.4.*-dev
For sure, 1.7* all support EWS Push. Support for EWS Push is available only in the paid ("Pro") version.
(Note that should you install a -dev version, once the new version will be released in Google Play, you could update to that as usually.)
-
Re: It is available in -dev versions, starting with some , I believe, 1.6.4.*-dev
It's also available in Google Play but it's necessary to "opt in" for it:
https://play.google.com/apps/testing/org.kman.AquaMail
But we don't really know what the OP meant by "having difficulty getting EWS working", exactly...