Var stream = .CreateFromFile(attachmentFile) The file to be attached is created ok and added to the message using this code: The problem is that the attachment is not attached. The message is created OK with a body, title and recipient. I am using .ShowComposeNewEmailAsync to create the message and cause the Email client (Windows Live Mail under Windows 10 Pro) to be displayed.
I have a Windows 10 C# Universal Windows App and would like to send an email with a simple text file attachment.