vikasdhar / exchangeit

Automatically exported from code.google.com/p/exchangeit
0 stars 0 forks source link

Message text does not appear #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm testing the latest release (0.6) with the Android Emulator, and it
seems to work for the form-based auth of OWA. I can download the subject
lines in my Inbox, but when I tap on one of the email messages the next
screen doesn't show the message text. Instead, I just see "To" and nothing
else. The rest of the screen is blank.

I'm accessing MS Exchange Server 2003.

Thanks for creating a very needed product for reading exchange emails.

Dave

Original issue reported on code.google.com by dave.fu...@gmail.com on 17 Nov 2008 at 4:42

GoogleCodeExporter commented 9 years ago
No progress bar comes up at all?  No error messages?  Does this happen for all 
messages?  I had some trouble in the past with URLEncoded characters that were 
being 
sent down in the href property that I'm using to pull up the email.

If you double click a message in OWA using IE it should open that message in a 
new 
window.  If you don't mind, could you send me the URL of one of the messages?  
You 
can replace any sensitive data in the URL with dummy data, but I particularly 
want to 
see the message part of the URL and see if that could cause any issues.

Original comment by byar...@gmail.com on 21 Nov 2008 at 8:39

GoogleCodeExporter commented 9 years ago
I have the same problem. I'm running version 0.6.0 of exchangeit. When I select 
a
message from my inbox, I get a white page that says "To:". It then displays a
progress bar. Then it says: 'Sorry! The application exchangeit (process
com.byarger.exchangeit) has stopped unexpectedly. Please Try again.'. My only 
option
then is to force close the application. The email that I try to view is a plain 
text
email without urls in it.

Original comment by cede...@gmail.com on 22 Nov 2008 at 10:56

GoogleCodeExporter commented 9 years ago
Ok, here's the URL in IE when I double-click on an email message:

https://am.mail.dosoftware.com/exchange/JonDoe/Inbox/Thanksgiving%20Departure.EM
L?Cmd=open

I do not see any progress bar or error messages when I try to read a message 
using
ExchangeIt.

Thanks,

Dave

Original comment by dave.fu...@gmail.com on 26 Nov 2008 at 4:07

GoogleCodeExporter commented 9 years ago
Actually, I do see a small window with a progress bar for about 5 secs, then a 
blank
view with just the text "To" at the top of the screen.

Dave

Original comment by dave.fu...@gmail.com on 26 Nov 2008 at 3:22

GoogleCodeExporter commented 9 years ago
I get the same thing, blank white screen with the only text being "To:"

Screenshot here:
http://exchangeit.googlecode.com/issues/attachment?
aid=1295457427381620738&name=exchangeit_view_mail_blank.png

Original comment by tom.hogarty@gmail.com on 26 Nov 2008 at 8:28

GoogleCodeExporter commented 9 years ago
I'm doing some testing and I think the problem is something like the following:

getMessageContents function in GetMessage class tries to load email without 
forms 
auth (not using saved cookies from previous http client used to retrieve 
mailbox 
list).

Is redirected automatically to login form which gives HTTP status 200 (OK) 
since the 
form loaded correctly. App tries to parse message but gets just empty message 
since 
the form page isn't a mime format email.

My recommendation is to save the cookies and client used in the earlier request 
for 
mailbox list and use it again when retrieving messages. Generating a new client 
without the forms auth cookies is causing the problems since the auth form is 
200 ok 
which appears to be a successful load of email (false).

I would have to do more testing, but I believe that is the problem. Should be 
an 
issue for all kinds of forms auth people. Other auth people will get a 
different 
status code like access denied or something which will allow it to login to 
retreive 
message. Perhaps do a check on the result to see if it was redirected and if 
the 
location is now a forms auth page?

-Tom H

Original comment by tom.hogarty@gmail.com on 4 Dec 2008 at 11:10

GoogleCodeExporter commented 9 years ago
One note that might be of interest, the java program fetchExc works with ISA 
forms 
(and I believe direct forms & other auth methods). I tested it with ISA forms 
and it 
works great. Haven't had time to try to incorporate it into an android app yet 
though, all this Intent, Activity, etc stuff is still a little confusing to me 
;)

fetchExc is available at:
http://www.saunalahti.fi/juhrauti/index.html (old site for version 2.0)
https://sourceforge.net/projects/fetchexc/ (new location for version 2.5.1 ...)

-Tom H

Original comment by tom.hogarty@gmail.com on 4 Dec 2008 at 11:14

GoogleCodeExporter commented 9 years ago
Tom, any interest in commit rights to work on this?  With the holidays here, 
I'm not
finding any time to work on exchangeIt, and I know this is something that a lot 
of
people would like.  I'll eventually get to it, and I appreciate the analysis 
but if
you're up for it I'd love the help.

Original comment by byar...@gmail.com on 4 Dec 2008 at 11:19

GoogleCodeExporter commented 9 years ago
Sure, I'd be up for giving it a shot. I can put any changes I make into a 
branch. 
Not sure if I'll have much time to put into it either, but worth a shot.

Original comment by tom.hogarty@gmail.com on 6 Dec 2008 at 1:50