Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

How do I send Email with inline Attachments #56

Open
AppyPt opened this issue Dec 9, 2014 · 5 comments
Open

How do I send Email with inline Attachments #56

AppyPt opened this issue Dec 9, 2014 · 5 comments
Assignees
Labels

Comments

@AppyPt
Copy link

AppyPt commented Dec 9, 2014

I send the description my team is having with the json integration with Office API 365.

We want to send an email with inline attachments through the JSON API.

With that objective, what we are doing:

Create an empty draft message using reply operation;
Send the several inline attachments;
Update the body of the draft message (with cid images inline);
Send the message;
What is our issue with the API?

We are unable to set the "ContentType" properties when we submit the attachments to the Office API 365. Despite the "ContentType" we send, it is always null.

We are using the following API: POST https://outlook.office365.com/api/v1.0/me/messages/{message_id}/attachments

That's the reason we think that despite the inline image then it is found in the body, it cannot be displayed because the contenttype it is not set correctly.

Please give us some direction.

@marcote
Copy link
Contributor

marcote commented Dec 9, 2014

@AppyPt I will redirect this inquiry to the API owners. Meanwhile can you confirm this is an issue related with the REST API itself and not with the Android SDK ? Thanks.

@AppyPt
Copy link
Author

AppyPt commented Dec 9, 2014

Yes. This is not related with Android SDK. That's a json api generic issue.

@marcote
Copy link
Contributor

marcote commented Dec 9, 2014

Understood. I will keep you posted as soon as we get a response.

@AppyPt
Copy link
Author

AppyPt commented Dec 11, 2014

Marco, any news on this?

@marcote
Copy link
Contributor

marcote commented Dec 11, 2014

No, sorry. I will ask what again what's the status of your query.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants