Skip to content
This repository has been archived by the owner on Apr 29, 2022. It is now read-only.

HTML output of email is empty in Outlook for Android #27

Closed
abhishek1234321 opened this issue Sep 27, 2017 · 16 comments
Closed

HTML output of email is empty in Outlook for Android #27

abhishek1234321 opened this issue Sep 27, 2017 · 16 comments
Assignees

Comments

@abhishek1234321
Copy link

abhishek1234321 commented Sep 27, 2017

I installed the add-in in my outlook.com account, hosted on a https nginx server, with CORS enabled.
When I click on the Display all properties, the body(HTML) is different in android

Outlook on Android

android

Outlook for iOS

image

Outlook Web

screen shot 2017-09-27 at 8 38 07 am

Outlook for Mac

screen shot 2017-09-27 at 10 07 09 am

The email was forwarded from Gmail. When I remove the "From: blah blah blah" from the body of the email and forward, it works fine.

Has someone encountered this? Anything that can be done to fix this?

@abhishek1234321 abhishek1234321 changed the title HTML output of email is empty HTML output of email is empty in Android Sep 27, 2017
@abhishek1234321 abhishek1234321 changed the title HTML output of email is empty in Android HTML output of email is empty in Outlook for Android Sep 27, 2017
@jasonjoh
Copy link
Contributor

Does the body display OK (outside of add-ins) in Outlook on Android? I haven't seen this.

@abhishek1234321
Copy link
Author

abhishek1234321 commented Sep 27, 2017

Yes, it does. Do you want me to put screenshots?

@jasonjoh
Copy link
Contributor

No that's OK. I'm at Ignite this week but can look at this when I return. Are you able to reproduce with any message forwarded from GMail, or is it just this particular one?

@abhishek1234321
Copy link
Author

Sure, thanks.

All messages forwarded from Gmail. This happens with messages forwarded from Yahoo too.

Anything I can do to figure out what the issue is?

@jasonjoh
Copy link
Contributor

I suspect a bug in Outlook for Android since it works everywhere else. In that case I'm not sure there is anything you can do! It would be interesting to see if this reproduces in another add-in like Translator (which I believe is available on Android). If it shows just an empty body that would indicate it's a larger issue than just this sample.

@abhishek1234321
Copy link
Author

abhishek1234321 commented Sep 27, 2017

Is there a way I can check if the body is empty for translator plugin (https://appsource.microsoft.com/en-us/product/office/wa104380627?src=office&corrid=8ed6f226-4499-4ace-bea2-9d6934867e44&omexanonuid=df70fb5e-c7e4-4740-b11b-bfef1058c45e)? because the plugin seems to work fine in Android, it could be that that the actual translated display and the getAsync call behave differently?

@jasonjoh
Copy link
Contributor

Well I'm making a lot of assumptions about the Translator add-in, but the only way an add-in can get the body is with getAsync.

@abhishek1234321
Copy link
Author

If only there was a way to check this :) Do let me know once you look into it.

@abhishek1234321
Copy link
Author

any updates on this?

@jasonjoh
Copy link
Contributor

jasonjoh commented Oct 2, 2017

I finally got my hands on an Android device to test this, and I reproduce it. That gives us something to investigate here.

@jasonjoh jasonjoh self-assigned this Oct 2, 2017
@abhishek1234321
Copy link
Author

That's reassuring :) waiting for more details, thank you.

@abhishek1234321
Copy link
Author

abhishek1234321 commented Oct 3, 2017

It doesn't work with Connected accounts as well, I connect Gmail to check if the problem was only with forwarded emails.

This time the body (HTML) and body (Text) is just empty.

Android

screenshot_20171003-123918

iOS

unknown

Outlook for mac

screen shot 2017-10-03 at 12 57 24 pm

OWA

screen shot 2017-10-03 at 12 40 06 pm

The dateTimeCreated and dateTimeModified is also different.

@abhishek1234321
Copy link
Author

any update or any workaround to get this working? If the translator plugin works then there should be a workaround is my guess.

@jasonjoh
Copy link
Contributor

jasonjoh commented Oct 6, 2017

It looks like a bug, the devs are checking. Translator is working because it actually uses the REST API to get the body of the message instead of doing body.getAsync.

@abhishek1234321
Copy link
Author

hey, any update on this? I did see many outlook app updates going out for Android in the last couple of weeks

@abhishek1234321
Copy link
Author

This is fixed I guess, can be closed.

@jasonjoh jasonjoh closed this as completed Apr 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants