-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Description
I'd like to send an email with an attachment but it is unclear how to do so.
Here's a fragment from OutlookTests:
Message message = new Message();
message.subject = "Test E-Mail";
...
// how do i set attachments?
message.attachments = new AttachmentCollectionPage(response??, builder??);
// now add the attachments to the page
...
testBase.graphClient.me().sendMail(message, true).buildRequest().post();In its current state the AttachmentCollectionPage object seems read-focused. How do I use it for write (or is this the wrong approach)?