Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could a way to send a draft message without saving to the "Sent Items" folder be added? #743

Closed
damptoe opened this issue Jul 21, 2020 · 2 comments

Comments

@damptoe
Copy link

damptoe commented Jul 21, 2020

The "saveToSentItems" flag to prevent saving sent emails to the "Sent Items" folder looks like it is only available from the "sendMail" endpoint at the moment.

When I use Graph, I don't use the "sendMail" endpoint because the only way to get around the attachment file size limit is to create a draft and add attachments smaller than 3 MB to it or create an upload session for files larger than 3 MB.

However, when you call the "send" endpoint for messages, it will always save a copy to the "Sent Items" folder.

You have to go through the hassle of setting an immutable ID on the draft before sending it and attempt to delete the message afterwards. Then you have to do another workaround to prevent deleting the message before it's sent because there's a slight delay before it actually gets sent.

Could the "saveToSentItems" flag just be added to the "send" endpoint as well? It seems too difficult to achieve such a simple task for what seems to be the standard endpoint for sending emails due to the "sendMail" endpoint's limitations.

@MIchaelMainer
Copy link
Contributor

Can you please make this feature request in the Microsoft Graph User Voice?

@ghost ghost removed the Needs: Triage label Jul 23, 2020
@troplin
Copy link

troplin commented Jan 10, 2022

@MIchaelMainer The User Voice is no longer available, can this ticket be reopened?

@ghost ghost locked as resolved and limited conversation to collaborators Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants