Title: send email with attachments · Issue #90 · microsoftgraph/msgraph-sdk-java · GitHub
Open Graph Title: send email with attachments · Issue #90 · microsoftgraph/msgraph-sdk-java
X Title: send email with attachments · Issue #90 · microsoftgraph/msgraph-sdk-java
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 = ne...
Open Graph 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 s...
X 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";...
Opengraph URL: https://github.com/microsoftgraph/msgraph-sdk-java/issues/90
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"send email with attachments","articleBody":"I'd like to send an email with an attachment but it is unclear how to do so.\r\n\r\nHere's a fragment from [OutlookTests](https://github.com/microsoftgraph/msgraph-sdk-java/blob/dev/src/test/java/com/microsoft/graph/functional/OutlookTests.java):\r\n\r\n```java\r\nMessage message = new Message();\r\nmessage.subject = \"Test E-Mail\";\r\n...\r\n// how do i set attachments?\r\nmessage.attachments = new AttachmentCollectionPage(response??, builder??);\r\n// now add the attachments to the page\r\n...\r\ntestBase.graphClient.me().sendMail(message, true).buildRequest().post();\r\n```\r\n\r\nIn its current state the `AttachmentCollectionPage` object seems read-focused. How do I use it for write (or is this the wrong approach)?\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/davidmoten","@type":"Person","name":"davidmoten"},"datePublished":"2018-05-08T23:46:14Z","url":"https://github.com/microsoftgraph/msgraph-sdk-java/issues/90"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:55823f3d-685d-4366-68c5-8ba38be6cf09 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A34C:16641E:9DAF4:D4ED0:6B050A9B |
| html-safe-nonce | cfbe3bd45d4548a10c6674c2fe8c1596dd97526775aff831d2c71460a3a17e28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzRDOjE2NjQxRTo5REFGNDpENEVEMDo2QjA1MEE5QiIsInZpc2l0b3JfaWQiOiI1ODQ1MTA0Mjc4NjMyNzI5MjQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8f682b7916e16db0feb7257c43c4cd906f07dbede0091145fbc1a43ff98a7cc6 |
| hovercard-subject-tag | issue:321383596 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoftgraph/msgraph-sdk-java/90/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ded565036040967be3cf8d46778b470eadb7b7602a5617a1e611cbcff6e78e53/microsoftgraph/msgraph-sdk-java/issues/90 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ded565036040967be3cf8d46778b470eadb7b7602a5617a1e611cbcff6e78e53/microsoftgraph/msgraph-sdk-java/issues/90 |
| og:image:alt | 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 s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidmoten |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoftgraph/msgraph-sdk-java git https://github.com/microsoftgraph/msgraph-sdk-java.git |
| octolytics-dimension-user_id | 17304259 |
| octolytics-dimension-user_login | microsoftgraph |
| octolytics-dimension-repository_id | 103300409 |
| octolytics-dimension-repository_nwo | microsoftgraph/msgraph-sdk-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 103300409 |
| octolytics-dimension-repository_network_root_nwo | microsoftgraph/msgraph-sdk-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width