question

RaghuvanshiAmit-1195 avatar image
0 Votes"
RaghuvanshiAmit-1195 asked RaghuvanshiAmit-1195 commented

Graph SDK: I want to send the saved draft mail but dont want it to be saved in sent items

Hi Team,

I want to sent a mail with large attachment and apparently to do so we need to create the message in draft folder, upload the attachment via upload session and then call the send API,

We don't want the mail to be saved in the sent items folder but Send api does not provide any such option.

Is there a way to achieve this in Graph SDK.

microsoft-graph-sdk
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

When you send a message that is in Drafts folder, the message is saved in Sent Items folder automatically. I see no way to manipulate that. May be send the move the sent item using Move message? But this is an extra API call


0 Votes 0 ·

While creating the mail in draft I have generated an immutable id and calling DeleteAsync() on that message id. It does delete the message is there any drawback of doing it this way.

Thanks for your help!!

0 Votes 0 ·

0 Answers