-
Notifications
You must be signed in to change notification settings - Fork 43
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
Downloading attachments using sample code #40
Comments
.Load() is a task, I think your code resumes before this is completed. Try: Greetings |
Hi Scara! Thanks for your reply I didn't spot the async task, as the example was passing a string param to the synchronous version Load(string)... Switching to a task and calling Load() fixed the missing content. Thank you! |
This works for me
|
please add some working code here.I've the same problem with filesize. |
Just as an FYI for anyone else who stumbles across this issue... the FileAttachment.Load("outputdir") isn't Async which i think is the issue. I got round it with the below I'd already done the fileattachment validation prior to this stage etc.
|
Hi! Not sure if theres a bug with the Load method; but the following code appears to write a 0 byte file to disk
The project I've used for reference is located here:
https://docs.microsoft.com/en-us/previous-versions/office/developer/exchange-server-2010/dd633665(v%3Dexchg.80)
Thanks for your time!
The text was updated successfully, but these errors were encountered: